Browse Source

lang/perl: Install target headers to staging directory

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 10 years ago
parent
commit
51850177b9
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      lang/perl/Makefile

+ 5
- 0
lang/perl/Makefile View File

@ -97,6 +97,11 @@ define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
endef endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/perl5/5.20/CORE
$(CP) $(PKG_INSTALL_DIR)/usr/lib/perl5/5.20/CORE/*.h $(1)/usr/lib/perl5/5.20/CORE/
endef
define Package/perl/install define Package/perl/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/perl$(PKG_VERSION) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/perl$(PKG_VERSION) $(1)/usr/bin


Loading…
Cancel
Save