perl: Install /usr/bin/prove so test harness works
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 14:13:37 +0000 (14:13 +0000)
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 6 Dec 2012 14:13:37 +0000 (14:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@34534 3c298f89-4303-0410-b956-a3cf2f4a3e73

lang/perl/perlbase.mk

index d1cad97..595cb1b 100644 (file)
@@ -1466,7 +1466,9 @@ TITLE:=Test perl module
 endef
 
 define Package/perlbase-test/install
-$(call perlmod/Install,$(1),Test Test.pm,Test/Harness/TAP.pod Test/Tutorial.pod)
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prove $(1)/usr/bin/
+       $(call perlmod/Install,$(1),Test Test.pm,Test/Harness/TAP.pod Test/Tutorial.pod)
 endef
 
 $(eval $(call BuildPackage,perlbase-test))