lang/perl: Install target headers to staging directory
authorMarcel Denia <naoir@gmx.net>
Tue, 22 Jul 2014 14:14:57 +0000 (16:14 +0200)
committerMarcel Denia <naoir@gmx.net>
Tue, 22 Jul 2014 14:18:54 +0000 (16:18 +0200)
Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl/Makefile

index 4b07cc947b7baf11baf27fdc374e2c1073f5c504..1b99cb3b16a9c87861382aa39c66c71c3e2aa419 100644 (file)
@@ -97,6 +97,11 @@ define Build/Compile
        +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
 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
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/perl$(PKG_VERSION) $(1)/usr/bin