From: Marcel Denia Date: Tue, 19 Aug 2014 22:32:13 +0000 (+0200) Subject: perl: Update perlbase.mk X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ce54424c811b42f34ad99002bd3b0067e21b26a2;p=feed%2Fpackages.git perl: Update perlbase.mk Signed-off-by: Marcel Denia --- diff --git a/lang/perl/Makefile b/lang/perl/Makefile index 3467c160ea..b0a47ca73d 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -45,7 +45,14 @@ TARGET_CFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CFLAGS)) TARGET_CPPFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CPPFLAGS)) # A list of disabled testss -PERL_DISABLEDTESTS:= +# ExtUtils tests are disabled for now as we don't support building +# native extensions on the target machine at the moment +PERL_DISABLEDTESTS:=cpan/ExtUtils-Constant cpan/ExtUtils-MakeMaker +# We're on Linux, so don't even package those +PERL_DISABLEDTESTS+=cpan/Win32API-File cpan/Win32 ext/VMS-DCLsym ext/VMS-Filespec ext/VMS-Stdio ext/Win32CORE +# NDBM and ODBM not supported +PERL_DISABLEDTESTS+=ext/NDBM_File ext/ODBM_File + include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk diff --git a/lang/perl/perlbase.mk b/lang/perl/perlbase.mk index cc9169076e..ab08b38606 100644 --- a/lang/perl/perlbase.mk +++ b/lang/perl/perlbase.mk @@ -19,6 +19,19 @@ endef $(eval $(call BuildPackage,perlbase-anydbm-file)) +define Package/perlbase-app +$(call Package/perlbase-template) +TITLE:=app perl module +DEPENDS+=+perlbase-autouse +perlbase-base +perlbase-config +perlbase-cpan +perlbase-essential +perlbase-file +perlbase-getopt +perlbase-if +perlbase-tap +perlbase-text +endef + +define Package/perlbase-app/install +$(call perlmod/Install,$(1),App,) +endef + +$(eval $(call BuildPackage,perlbase-app)) + + define Package/perlbase-archive $(call Package/perlbase-template) TITLE:=Archive perl module @@ -27,11 +40,25 @@ endef define Package/perlbase-archive/install $(call perlmod/Install,$(1),Archive,) +$(call perlmod/InstallBaseTests,$(1),cpan/Archive-Tar/t) endef $(eval $(call BuildPackage,perlbase-archive)) +define Package/perlbase-arybase +$(call Package/perlbase-template) +TITLE:=arybase perl module +endef + +define Package/perlbase-arybase/install +$(call perlmod/Install,$(1),arybase.pm auto/arybase,) +$(call perlmod/InstallBaseTests,$(1),ext/arybase/t) +endef + +$(eval $(call BuildPackage,perlbase-arybase)) + + define Package/perlbase-attribute $(call Package/perlbase-template) TITLE:=Attribute perl module @@ -40,6 +67,7 @@ endef define Package/perlbase-attribute/install $(call perlmod/Install,$(1),Attribute,) +$(call perlmod/InstallBaseTests,$(1),dist/Attribute-Handlers/t) endef $(eval $(call BuildPackage,perlbase-attribute)) @@ -52,12 +80,26 @@ DEPENDS+=+perlbase-essential endef define Package/perlbase-attributes/install -$(call perlmod/Install,$(1),attributes.pm,) +$(call perlmod/Install,$(1),attributes.pm auto/attributes,) endef $(eval $(call BuildPackage,perlbase-attributes)) +define Package/perlbase-autodie +$(call Package/perlbase-template) +TITLE:=autodie perl module +DEPENDS+=+perlbase-base +perlbase-essential +perlbase-fatal +perlbase-if +endef + +define Package/perlbase-autodie/install +$(call perlmod/Install,$(1),autodie autodie.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/autodie/t) +endef + +$(eval $(call BuildPackage,perlbase-autodie)) + + define Package/perlbase-autoloader $(call Package/perlbase-template) TITLE:=AutoLoader perl module @@ -66,6 +108,7 @@ endef define Package/perlbase-autoloader/install $(call perlmod/Install,$(1),AutoLoader.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/AutoLoader/t) endef $(eval $(call BuildPackage,perlbase-autoloader)) @@ -78,7 +121,7 @@ DEPENDS+=+perlbase-config +perlbase-essential +perlbase-file endef define Package/perlbase-autosplit/install -$(call perlmod/Install,$(1),AutoSplit.pm,) +$(call perlmod/Install/NoStrip,$(1),AutoSplit.pm,) endef $(eval $(call BuildPackage,perlbase-autosplit)) @@ -91,6 +134,7 @@ endef define Package/perlbase-autouse/install $(call perlmod/Install,$(1),autouse.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/autouse/t) endef $(eval $(call BuildPackage,perlbase-autouse)) @@ -104,6 +148,7 @@ endef define Package/perlbase-b/install $(call perlmod/Install,$(1),B B.pm auto/B,) +$(call perlmod/InstallBaseTests,$(1),cpan/B-Debug/t ext/B/t) endef $(eval $(call BuildPackage,perlbase-b)) @@ -117,6 +162,7 @@ endef define Package/perlbase-base/install $(call perlmod/Install,$(1),base.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/base/t) endef $(eval $(call BuildPackage,perlbase-base)) @@ -155,7 +201,8 @@ DEPENDS+=+perlbase-bigint +perlbase-essential endef define Package/perlbase-bignum/install -$(call perlmod/Install,$(1),bignum.pm,) +$(call perlmod/Install,$(1),bignum.pm bigrat.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/bignum/t) endef $(eval $(call BuildPackage,perlbase-bignum)) @@ -194,6 +241,7 @@ endef define Package/perlbase-cgi/install $(call perlmod/Install,$(1),CGI CGI.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/CGI/t) endef $(eval $(call BuildPackage,perlbase-cgi)) @@ -202,11 +250,11 @@ $(eval $(call BuildPackage,perlbase-cgi)) define Package/perlbase-charnames $(call Package/perlbase-template) TITLE:=charnames perl module -DEPENDS+=+perlbase-bytes +perlbase-essential +perlbase-re +perlbase-unicore +DEPENDS+=+perlbase-bytes +perlbase-essential +perlbase-file +perlbase-re +perlbase-unicore endef define Package/perlbase-charnames/install -$(call perlmod/Install,$(1),charnames.pm,) +$(call perlmod/Install,$(1),_charnames.pm charnames.pm,) endef $(eval $(call BuildPackage,perlbase-charnames)) @@ -233,6 +281,7 @@ endef define Package/perlbase-compress/install $(call perlmod/Install,$(1),Compress auto/Compress,) +$(call perlmod/InstallBaseTests,$(1),cpan/Compress-Raw-Bzip2/t cpan/Compress-Raw-Zlib/t) endef $(eval $(call BuildPackage,perlbase-compress)) @@ -241,10 +290,12 @@ $(eval $(call BuildPackage,perlbase-compress)) define Package/perlbase-config $(call Package/perlbase-template) TITLE:=Config perl module +DEPENDS+=+perlbase-essential endef define Package/perlbase-config/install -$(call perlmod/Install,$(1),Config Config.pm Config_heavy.pl,) +$(call perlmod/Install,$(1),Config Config.pm Config_git.pl Config_heavy.pl,) +$(call perlmod/InstallBaseTests,$(1),cpan/Config-Perl-V/t) endef $(eval $(call BuildPackage,perlbase-config)) @@ -253,11 +304,13 @@ $(eval $(call BuildPackage,perlbase-config)) define Package/perlbase-cpan $(call Package/perlbase-template) TITLE:=CPAN perl module -DEPENDS+=+perlbase-b +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-essential +perlbase-extutils +perlbase-fcntl +perlbase-file +perlbase-filehandle +perlbase-list +perlbase-net +perlbase-safe +perlbase-scalar +perlbase-sys +perlbase-text +perlbase-version +DEPENDS+=+perlbase-b +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-essential +perlbase-extutils +perlbase-fcntl +perlbase-file +perlbase-filehandle +perlbase-http-tiny +perlbase-list +perlbase-net +perlbase-safe +perlbase-scalar +perlbase-sys +perlbase-text +perlbase-version endef define Package/perlbase-cpan/install -$(call perlmod/Install,$(1),CPAN CPAN.pm,) +$(call perlmod/Install,$(1),CPAN CPAN.pm Parse/CPAN/Meta.pm,CPAN/FirstTime.pm) +$(call perlmod/Install/NoStrip,$(1),CPAN/FirstTime.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/CPAN-Meta-Requirements/t cpan/CPAN-Meta-YAML/t cpan/CPAN-Meta/t cpan/CPAN/t cpan/Parse-CPAN-Meta/t) endef $(eval $(call BuildPackage,perlbase-cpan)) @@ -284,6 +337,7 @@ endef define Package/perlbase-data/install $(call perlmod/Install,$(1),Data auto/Data,) +$(call perlmod/InstallBaseTests,$(1),dist/Data-Dumper/t) endef $(eval $(call BuildPackage,perlbase-data)) @@ -310,6 +364,7 @@ endef define Package/perlbase-db-file/install $(call perlmod/Install,$(1),DB_File.pm auto/DB_File,) +$(call perlmod/InstallBaseTests,$(1),cpan/DB_File/t) endef $(eval $(call BuildPackage,perlbase-db-file)) @@ -335,7 +390,9 @@ DEPENDS+=+perlbase-essential +perlbase-file endef define Package/perlbase-devel/install -$(call perlmod/Install,$(1),Devel auto/Devel,) +$(call perlmod/Install,$(1),Devel auto/Devel,Devel/PPPort.pm) +$(call perlmod/Install/NoStrip,$(1),Devel/PPPort.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/Devel-PPPort/t dist/Devel-SelfStubber/t ext/Devel-Peek/t) endef $(eval $(call BuildPackage,perlbase-devel)) @@ -362,6 +419,8 @@ endef define Package/perlbase-digest/install $(call perlmod/Install,$(1),Digest Digest.pm auto/Digest,) +$(call perlmod/InstallBaseTests,$(1),cpan/Digest-MD5/MD5.xs cpan/Digest-MD5/t cpan/Digest-SHA/t cpan/Digest/t) + $(INSTALL_DIR) $(1)/$(PERL_TESTSDIR)/cpan/Digest-SHA/src endef $(eval $(call BuildPackage,perlbase-digest)) @@ -388,6 +447,7 @@ endef define Package/perlbase-dumpvalue/install $(call perlmod/Install,$(1),Dumpvalue.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/Dumpvalue/t) endef $(eval $(call BuildPackage,perlbase-dumpvalue)) @@ -413,6 +473,7 @@ endef define Package/perlbase-dynaloader/install $(call perlmod/Install,$(1),DynaLoader.pm,) +$(call perlmod/InstallBaseTests,$(1),ext/DynaLoader/t) endef $(eval $(call BuildPackage,perlbase-dynaloader)) @@ -426,6 +487,7 @@ endef define Package/perlbase-encode/install $(call perlmod/Install,$(1),Encode Encode.pm auto/Encode,Encode/PerlIO.pod Encode/Supported.pod) +$(call perlmod/InstallBaseTests,$(1),cpan/Encode/t) endef $(eval $(call BuildPackage,perlbase-encode)) @@ -439,6 +501,7 @@ endef define Package/perlbase-encoding/install $(call perlmod/Install,$(1),encoding encoding.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/encoding-warnings/t) endef $(eval $(call BuildPackage,perlbase-encoding)) @@ -464,6 +527,7 @@ endef define Package/perlbase-env/install $(call perlmod/Install,$(1),Env.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/Env/t) endef $(eval $(call BuildPackage,perlbase-env)) @@ -477,6 +541,7 @@ endef define Package/perlbase-errno/install $(call perlmod/Install,$(1),Errno.pm,) +$(call perlmod/InstallBaseTests,$(1),ext/Errno/t) endef $(eval $(call BuildPackage,perlbase-errno)) @@ -485,24 +550,40 @@ $(eval $(call BuildPackage,perlbase-errno)) define Package/perlbase-essential $(call Package/perlbase-template) TITLE:=essential perl module -DEPENDS+=+perlbase-config endef define Package/perlbase-essential/install -$(call perlmod/Install,$(1),Carp Carp.pm Exporter Exporter.pm constant.pm lib.pm locale.pm overload.pm overloading.pm parent.pm strict.pm subs.pm vars.pm warnings warnings.pm,) +$(call perlmod/Install,$(1),Carp Carp.pm Exporter Exporter.pm constant.pm deprecate.pm lib.pm locale.pm overload.pm overloading.pm parent.pm strict.pm subs.pm vars.pm warnings warnings.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/parent/t dist/Carp/t dist/Exporter/t dist/constant/t dist/lib/t) endef $(eval $(call BuildPackage,perlbase-essential)) +define Package/perlbase-experimental +$(call Package/perlbase-template) +TITLE:=perl module to enable/disable experimental features +DEPENDS+=+perlbase-essential +perlbase-feature +endef + +define Package/perlbase-experimental/install +$(call perlmod/Install,$(1),experimental.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/experimental/t) +endef + +$(eval $(call BuildPackage,perlbase-experimental)) + + define Package/perlbase-extutils $(call Package/perlbase-template) TITLE:=ExtUtils perl module -DEPENDS+=+perlbase-autosplit +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-essential +perlbase-file +perlbase-io +perlbase-ipc +perlbase-symbol +perlbase-text +DEPENDS+=+perlbase-autosplit +perlbase-config +perlbase-cwd +perlbase-dirhandle +perlbase-essential +perlbase-file +perlbase-io +perlbase-ipc +perlbase-ostype +perlbase-symbol +perlbase-text endef define Package/perlbase-extutils/install -$(call perlmod/Install,$(1),ExtUtils,ExtUtils/MakeMaker/FAQ.pod ExtUtils/MakeMaker/Tutorial.pod) +$(call perlmod/Install,$(1),ExtUtils,ExtUtils/MakeMaker/FAQ.pod ExtUtils/MakeMaker/Tutorial.pod ExtUtils/ParseXS.pm ExtUtils/ParseXS/Utilities.pm) +$(call perlmod/Install/NoStrip,$(1),ExtUtils/ParseXS.pm ExtUtils/ParseXS/Utilities.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/ExtUtils-Constant/t cpan/ExtUtils-MakeMaker/t dist/ExtUtils-CBuilder/t dist/ExtUtils-Command/t dist/ExtUtils-Install/t dist/ExtUtils-Manifest/t dist/ExtUtils-ParseXS/t) endef $(eval $(call BuildPackage,perlbase-extutils)) @@ -529,6 +610,7 @@ endef define Package/perlbase-fcntl/install $(call perlmod/Install,$(1),Fcntl.pm auto/Fcntl,) +$(call perlmod/InstallBaseTests,$(1),ext/Fcntl/t) endef $(eval $(call BuildPackage,perlbase-fcntl)) @@ -566,7 +648,9 @@ DEPENDS+=+perlbase-class +perlbase-config +perlbase-cwd +perlbase-errno +perlbas endef define Package/perlbase-file/install -$(call perlmod/Install,$(1),File auto/File,) +$(call perlmod/Install,$(1),File auto/File,File/Find.pm) +$(call perlmod/Install/NoStrip,$(1),File/Find.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/File-Fetch/t cpan/File-Path/t cpan/File-Temp/t dist/PathTools/t ext/File-DosGlob/t ext/File-Find/t ext/File-Glob/t) endef $(eval $(call BuildPackage,perlbase-file)) @@ -580,6 +664,7 @@ endef define Package/perlbase-filecache/install $(call perlmod/Install,$(1),FileCache.pm,) +$(call perlmod/InstallBaseTests,$(1),ext/FileCache/t) endef $(eval $(call BuildPackage,perlbase-filecache)) @@ -618,6 +703,7 @@ endef define Package/perlbase-filter/install $(call perlmod/Install,$(1),Filter auto/Filter,) +$(call perlmod/InstallBaseTests,$(1),cpan/Filter-Util-Call/filter-util.pl cpan/Filter-Util-Call/t dist/Filter-Simple/t) endef $(eval $(call BuildPackage,perlbase-filter)) @@ -644,6 +730,7 @@ endef define Package/perlbase-gdbm-file/install $(call perlmod/Install,$(1),GDBM_File.pm auto/GDBM_File,) +$(call perlmod/InstallBaseTests,$(1),ext/GDBM_File/t) endef $(eval $(call BuildPackage,perlbase-gdbm-file)) @@ -657,6 +744,7 @@ endef define Package/perlbase-getopt/install $(call perlmod/Install,$(1),Getopt,) +$(call perlmod/InstallBaseTests,$(1),cpan/Getopt-Long/t) endef $(eval $(call BuildPackage,perlbase-getopt)) @@ -670,11 +758,26 @@ endef define Package/perlbase-hash/install $(call perlmod/Install,$(1),Hash auto/Hash,) +$(call perlmod/InstallBaseTests,$(1),ext/Hash-Util-FieldHash/t ext/Hash-Util/t) endef $(eval $(call BuildPackage,perlbase-hash)) +define Package/perlbase-http-tiny +$(call Package/perlbase-template) +TITLE:=http-tiny perl module +DEPENDS+=+perlbase-errno +perlbase-essential +perlbase-io +endef + +define Package/perlbase-http-tiny/install +$(call perlmod/Install,$(1),HTTP/Tiny.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/HTTP-Tiny/t) +endef + +$(eval $(call BuildPackage,perlbase-http-tiny)) + + define Package/perlbase-i18n $(call Package/perlbase-template) TITLE:=I18N perl module @@ -682,7 +785,9 @@ DEPENDS+=+perlbase-essential +perlbase-posix endef define Package/perlbase-i18n/install -$(call perlmod/Install,$(1),I18N auto/I18N,) +$(call perlmod/Install,$(1),I18N auto/I18N,I18N/LangTags/List.pm) +$(call perlmod/InstallBaseTests,$(1),dist/I18N-Collate/t dist/I18N-LangTags/t ext/I18N-Langinfo/t) +$(call perlmod/Install/NoStrip,$(1),I18N/LangTags/List.pm) endef $(eval $(call BuildPackage,perlbase-i18n)) @@ -695,6 +800,7 @@ endef define Package/perlbase-if/install $(call perlmod/Install,$(1),if.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/if/t) endef $(eval $(call BuildPackage,perlbase-if)) @@ -720,6 +826,7 @@ endef define Package/perlbase-io/install $(call perlmod/Install,$(1),IO IO.pm auto/IO,) +$(call perlmod/InstallBaseTests,$(1),cpan/IO-Compress/t cpan/IO-Socket-IP/t cpan/IO-Zlib/t dist/IO/Makefile.PL dist/IO/t) endef $(eval $(call BuildPackage,perlbase-io)) @@ -733,11 +840,26 @@ endef define Package/perlbase-ipc/install $(call perlmod/Install,$(1),IPC auto/IPC,) +$(call perlmod/InstallBaseTests,$(1),cpan/IPC-Cmd/t cpan/IPC-SysV/t ext/IPC-Open3/t) endef $(eval $(call BuildPackage,perlbase-ipc)) +define Package/perlbase-json-pp +$(call Package/perlbase-template) +TITLE:=json-pp perl module +DEPENDS+=+perlbase-b +perlbase-base +perlbase-essential +endef + +define Package/perlbase-json-pp/install +$(call perlmod/Install,$(1),JSON/PP JSON/PP.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/JSON-PP/t) +endef + +$(eval $(call BuildPackage,perlbase-json-pp)) + + define Package/perlbase-less $(call Package/perlbase-template) TITLE:=less perl module @@ -772,6 +894,7 @@ endef define Package/perlbase-locale/install $(call perlmod/Install,$(1),Locale,Locale/Constants.pod Locale/Country.pod Locale/Currency.pod Locale/Language.pod Locale/Maketext.pod Locale/Maketext/TPJ13.pod Locale/Script.pod) +$(call perlmod/InstallBaseTests,$(1),cpan/Locale-Codes/t cpan/Locale-Maketext-Simple/t dist/Locale-Maketext/t) endef $(eval $(call BuildPackage,perlbase-locale)) @@ -785,6 +908,7 @@ endef define Package/perlbase-math/install $(call perlmod/Install,$(1),Math auto/Math,) +$(call perlmod/InstallBaseTests,$(1),cpan/Math-Complex/t dist/Math-BigInt-FastCalc/t dist/Math-BigInt/t dist/Math-BigRat/t) endef $(eval $(call BuildPackage,perlbase-math)) @@ -798,6 +922,7 @@ endef define Package/perlbase-memoize/install $(call perlmod/Install,$(1),Memoize Memoize.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/Memoize/t) endef $(eval $(call BuildPackage,perlbase-memoize)) @@ -811,6 +936,7 @@ endef define Package/perlbase-mime/install $(call perlmod/Install,$(1),MIME auto/MIME,) +$(call perlmod/InstallBaseTests,$(1),cpan/MIME-Base64/t) endef $(eval $(call BuildPackage,perlbase-mime)) @@ -819,11 +945,13 @@ $(eval $(call BuildPackage,perlbase-mime)) define Package/perlbase-module $(call Package/perlbase-template) TITLE:=Module perl module -DEPENDS+=+perlbase-config +perlbase-cwd +perlbase-data +perlbase-essential +perlbase-extutils +perlbase-file +perlbase-filehandle +perlbase-if +perlbase-io +perlbase-locale +perlbase-params +perlbase-text +perlbase-version +DEPENDS+=+perlbase-config +perlbase-cwd +perlbase-data +perlbase-essential +perlbase-extutils +perlbase-file +perlbase-filehandle +perlbase-if +perlbase-io +perlbase-locale +perlbase-ostype +perlbase-params +perlbase-text +perlbase-version endef define Package/perlbase-module/install -$(call perlmod/Install,$(1),Module,Module/Build/API.pod Module/Build/Authoring.pod) +$(call perlmod/Install,$(1),Module,Module/Build Module/Build.pm Module/Build/API.pod Module/Build/Authoring.pod) +$(call perlmod/Install/NoStrip,$(1),Module/Build Module/Build.pm,Module/Build/API.pod Module/Build/Authoring.pod) +$(call perlmod/InstallBaseTests,$(1),cpan/Module-Build/lib cpan/Module-Build/t cpan/Module-Load-Conditional/t cpan/Module-Load/t cpan/Module-Loaded/t cpan/Module-Metadata/lib cpan/Module-Metadata/t dist/Module-CoreList/t) endef $(eval $(call BuildPackage,perlbase-module)) @@ -836,7 +964,7 @@ DEPENDS+=+perlbase-essential endef define Package/perlbase-mro/install -$(call perlmod/Install,$(1),mro.pm,) +$(call perlmod/Install,$(1),auto/mro mro.pm,) endef $(eval $(call BuildPackage,perlbase-mro)) @@ -850,6 +978,7 @@ endef define Package/perlbase-net/install $(call perlmod/Install,$(1),Net,Net/libnetFAQ.pod) +$(call perlmod/InstallBaseTests,$(1),cpan/libnet/t dist/Net-Ping/t) endef $(eval $(call BuildPackage,perlbase-net)) @@ -863,6 +992,7 @@ endef define Package/perlbase-next/install $(call perlmod/Install,$(1),NEXT.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/NEXT/t) endef $(eval $(call BuildPackage,perlbase-next)) @@ -888,7 +1018,9 @@ DEPENDS+=+perlbase-essential +perlbase-xsloader endef define Package/perlbase-opcode/install -$(call perlmod/Install,$(1),Opcode.pm auto/Opcode,) +$(call perlmod/Install,$(1),auto/Opcode,) +$(call perlmod/Install/NoStrip,$(1),Opcode.pm,) +$(call perlmod/InstallBaseTests,$(1),ext/Opcode/t) endef $(eval $(call BuildPackage,perlbase-opcode)) @@ -920,6 +1052,20 @@ endef $(eval $(call BuildPackage,perlbase-ops)) +define Package/perlbase-ostype +$(call Package/perlbase-template) +TITLE:=OSType perl module +DEPENDS+=+perlbase-essential +endef + +define Package/perlbase-ostype/install +$(call perlmod/Install,$(1),Perl/OSType.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/Perl-OSType/t) +endef + +$(eval $(call BuildPackage,perlbase-ostype)) + + define Package/perlbase-package $(call Package/perlbase-template) TITLE:=Package perl module @@ -928,6 +1074,7 @@ endef define Package/perlbase-package/install $(call perlmod/Install,$(1),Package,) +$(call perlmod/InstallBaseTests,$(1),cpan/Package-Constants/t) endef $(eval $(call BuildPackage,perlbase-package)) @@ -941,6 +1088,7 @@ endef define Package/perlbase-params/install $(call perlmod/Install,$(1),Params,) +$(call perlmod/InstallBaseTests,$(1),cpan/Params-Check/t) endef $(eval $(call BuildPackage,perlbase-params)) @@ -967,6 +1115,7 @@ endef define Package/perlbase-perlio/install $(call perlmod/Install,$(1),PerlIO PerlIO.pm auto/PerlIO,) +$(call perlmod/InstallBaseTests,$(1),cpan/PerlIO-via-QuotedPrint/t ext/PerlIO-encoding/t ext/PerlIO-scalar/t ext/PerlIO-via/t) endef $(eval $(call BuildPackage,perlbase-perlio)) @@ -979,7 +1128,12 @@ DEPENDS+=+perlbase-config +perlbase-cwd +perlbase-encode +perlbase-essential +pe endef define Package/perlbase-pod/install -$(call perlmod/Install,$(1),Pod,) +$(call perlmod/Install,$(1),Pod,Pod/Usage.pm) +$(call perlmod/Install/NoStrip,$(1),Pod/Usage.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/Pod-Checker/t cpan/Pod-Escapes/t cpan/Pod-Parser/lib cpan/Pod-Parser/scripts cpan/Pod-Parser/t cpan/Pod-Perldoc/t cpan/Pod-Simple/t cpan/Pod-Usage/scripts cpan/Pod-Usage/t cpan/podlators/t ext/Pod-Functions/Functions.pm ext/Pod-Functions/t ext/Pod-Html/t) + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/pod2man $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/bin/pod2text $(1)/usr/bin/ endef $(eval $(call BuildPackage,perlbase-pod)) @@ -993,6 +1147,7 @@ endef define Package/perlbase-posix/install $(call perlmod/Install,$(1),POSIX.pm auto/POSIX,) +$(call perlmod/InstallBaseTests,$(1),ext/POSIX/Makefile.PL ext/POSIX/POSIX.xs ext/POSIX/t) endef $(eval $(call BuildPackage,perlbase-posix)) @@ -1006,6 +1161,7 @@ endef define Package/perlbase-re/install $(call perlmod/Install,$(1),auto/re re.pm,) +$(call perlmod/InstallBaseTests,$(1),ext/re/t) endef $(eval $(call BuildPackage,perlbase-re)) @@ -1019,6 +1175,7 @@ endef define Package/perlbase-safe/install $(call perlmod/Install,$(1),Safe.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/Safe/t) endef $(eval $(call BuildPackage,perlbase-safe)) @@ -1032,6 +1189,8 @@ endef define Package/perlbase-scalar/install $(call perlmod/Install,$(1),Scalar,) +$(call perlmod/InstallBaseTests,$(1),cpan/Scalar-List-Utils/t) + $(INSTALL_DIR) $(1)/$(PERL_TESTSDIR)/cpan/Scalar-List-Utils/blib endef $(eval $(call BuildPackage,perlbase-scalar)) @@ -1045,6 +1204,7 @@ endef define Package/perlbase-sdbm-file/install $(call perlmod/Install,$(1),SDBM_File.pm auto/SDBM_File,) +$(call perlmod/InstallBaseTests,$(1),ext/SDBM_File/t) endef $(eval $(call BuildPackage,perlbase-sdbm-file)) @@ -1058,6 +1218,7 @@ endef define Package/perlbase-search/install $(call perlmod/Install,$(1),Search,) +$(call perlmod/InstallBaseTests,$(1),dist/Search-Dict/t) endef $(eval $(call BuildPackage,perlbase-search)) @@ -1084,6 +1245,7 @@ endef define Package/perlbase-selfloader/install $(call perlmod/Install,$(1),SelfLoader.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/SelfLoader/t) endef $(eval $(call BuildPackage,perlbase-selfloader)) @@ -1110,6 +1272,7 @@ endef define Package/perlbase-socket/install $(call perlmod/Install,$(1),Socket.pm auto/Socket,) +$(call perlmod/InstallBaseTests,$(1),cpan/Socket/t) endef $(eval $(call BuildPackage,perlbase-socket)) @@ -1136,6 +1299,7 @@ endef define Package/perlbase-storable/install $(call perlmod/Install,$(1),Storable.pm auto/Storable,) +$(call perlmod/InstallBaseTests,$(1),dist/Storable/t) endef $(eval $(call BuildPackage,perlbase-storable)) @@ -1161,11 +1325,25 @@ endef define Package/perlbase-sys/install $(call perlmod/Install,$(1),Sys auto/Sys,) +$(call perlmod/InstallBaseTests,$(1),cpan/Sys-Syslog/t ext/Sys-Hostname/t) endef $(eval $(call BuildPackage,perlbase-sys)) +define Package/perlbase-tap +$(call Package/perlbase-template) +TITLE:=TAP perl module +DEPENDS+=+perlbase-base +perlbase-benchmark +perlbase-config +perlbase-essential +perlbase-file +perlbase-io +perlbase-posix +perlbase-text +endef + +define Package/perlbase-tap/install +$(call perlmod/Install,$(1),TAP,) +endef + +$(eval $(call BuildPackage,perlbase-tap)) + + define Package/perlbase-term $(call Package/perlbase-template) TITLE:=Term perl module @@ -1174,6 +1352,7 @@ endef define Package/perlbase-term/install $(call perlmod/Install,$(1),Term,) +$(call perlmod/InstallBaseTests,$(1),cpan/Term-ANSIColor/t cpan/Term-Cap/test.pl dist/Term-Complete/t dist/Term-ReadLine/t) endef $(eval $(call BuildPackage,perlbase-term)) @@ -1182,11 +1361,13 @@ $(eval $(call BuildPackage,perlbase-term)) define Package/perlbase-test $(call Package/perlbase-template) TITLE:=Test perl module -DEPENDS+=+perlbase-base +perlbase-config +perlbase-essential +perlbase-symbol +perlbase-text +DEPENDS+=+perlbase-base +perlbase-config +perlbase-essential +perlbase-symbol +perlbase-tap +perlbase-text endef define Package/perlbase-test/install -$(call perlmod/Install,$(1),Test Test.pm,Test/Harness/TAP.pod Test/Tutorial.pod) +$(call perlmod/Install,$(1),Test Test.pm,Test/Builder.pm Test/Harness/TAP.pod Test/More.pm Test/Tutorial.pod) +$(call perlmod/Install/NoStrip,$(1),Test/Builder.pm Test/More.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/Test-Harness/t cpan/Test-Simple/t cpan/Test/t) $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prove $(1)/usr/bin endef @@ -1197,11 +1378,12 @@ $(eval $(call BuildPackage,perlbase-test)) define Package/perlbase-text $(call Package/perlbase-template) TITLE:=Text perl module -DEPENDS+=+perlbase-essential +DEPENDS+=+perlbase-essential +perlbase-selfloader endef define Package/perlbase-text/install $(call perlmod/Install,$(1),Text,) +$(call perlmod/InstallBaseTests,$(1),cpan/Text-Balanced/t cpan/Text-ParseWords/t cpan/Text-Tabs/t dist/Text-Abbrev/t) endef $(eval $(call BuildPackage,perlbase-text)) @@ -1215,6 +1397,7 @@ endef define Package/perlbase-thread/install $(call perlmod/Install,$(1),Thread Thread.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/Thread-Queue/t dist/Thread-Semaphore/t) endef $(eval $(call BuildPackage,perlbase-thread)) @@ -1228,6 +1411,7 @@ endef define Package/perlbase-threads/install $(call perlmod/Install,$(1),auto/threads threads threads.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/threads-shared/t dist/threads/t) endef $(eval $(call BuildPackage,perlbase-threads)) @@ -1240,7 +1424,8 @@ DEPENDS+=+perlbase-essential +perlbase-fcntl +perlbase-posix endef define Package/perlbase-tie/install -$(call perlmod/Install,$(1),Tie,) +$(call perlmod/Install,$(1),Tie auto/Tie,) +$(call perlmod/InstallBaseTests,$(1),cpan/Tie-RefHash/t dist/Tie-File/t ext/Tie-Hash-NamedCapture/t ext/Tie-Memoize/lib/Tie/Memoize.pm ext/Tie-Memoize/t) endef $(eval $(call BuildPackage,perlbase-tie)) @@ -1254,6 +1439,7 @@ endef define Package/perlbase-time/install $(call perlmod/Install,$(1),Time auto/Time,) +$(call perlmod/InstallBaseTests,$(1),cpan/Time-HiRes/t cpan/Time-Local/t cpan/Time-Piece/t) endef $(eval $(call BuildPackage,perlbase-time)) @@ -1267,6 +1453,7 @@ endef define Package/perlbase-unicode/install $(call perlmod/Install,$(1),Unicode auto/Unicode,) +$(call perlmod/InstallBaseTests,$(1),cpan/Unicode-Collate/t cpan/Unicode-Normalize/t) endef $(eval $(call BuildPackage,perlbase-unicode)) @@ -1325,11 +1512,12 @@ $(eval $(call BuildPackage,perlbase-utf8)) define Package/perlbase-version $(call Package/perlbase-template) TITLE:=version perl module -DEPENDS+=+perlbase-essential +DEPENDS+=+perlbase-config +perlbase-essential endef define Package/perlbase-version/install -$(call perlmod/Install,$(1),version.pm,) +$(call perlmod/Install,$(1),version version.pm,) +$(call perlmod/InstallBaseTests,$(1),cpan/version/t) endef $(eval $(call BuildPackage,perlbase-version)) @@ -1342,6 +1530,10 @@ endef define Package/perlbase-xsloader/install $(call perlmod/Install,$(1),XSLoader.pm,) +$(call perlmod/InstallBaseTests,$(1),dist/XSLoader/t ext/XS-APItest/t ext/XS-Typemap/t) endef $(eval $(call BuildPackage,perlbase-xsloader)) + + +# Generated Mon Oct 13 10:06:15 2014