Browse Source

perl: Update perlbase.mk

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 10 years ago
parent
commit
ce54424c81
2 changed files with 226 additions and 27 deletions
  1. +8
    -1
      lang/perl/Makefile
  2. +218
    -26
      lang/perl/perlbase.mk

+ 8
- 1
lang/perl/Makefile View File

@ -45,7 +45,14 @@ TARGET_CFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CFLAGS))
TARGET_CPPFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CPPFLAGS)) TARGET_CPPFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CPPFLAGS))
# A list of disabled testss # 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)/package.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk


+ 218
- 26
lang/perl/perlbase.mk View File

@ -19,6 +19,19 @@ endef
$(eval $(call BuildPackage,perlbase-anydbm-file)) $(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 define Package/perlbase-archive
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Archive perl module TITLE:=Archive perl module
@ -27,11 +40,25 @@ endef
define Package/perlbase-archive/install define Package/perlbase-archive/install
$(call perlmod/Install,$(1),Archive,) $(call perlmod/Install,$(1),Archive,)
$(call perlmod/InstallBaseTests,$(1),cpan/Archive-Tar/t)
endef endef
$(eval $(call BuildPackage,perlbase-archive)) $(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 define Package/perlbase-attribute
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Attribute perl module TITLE:=Attribute perl module
@ -40,6 +67,7 @@ endef
define Package/perlbase-attribute/install define Package/perlbase-attribute/install
$(call perlmod/Install,$(1),Attribute,) $(call perlmod/Install,$(1),Attribute,)
$(call perlmod/InstallBaseTests,$(1),dist/Attribute-Handlers/t)
endef endef
$(eval $(call BuildPackage,perlbase-attribute)) $(eval $(call BuildPackage,perlbase-attribute))
@ -52,12 +80,26 @@ DEPENDS+=+perlbase-essential
endef endef
define Package/perlbase-attributes/install define Package/perlbase-attributes/install
$(call perlmod/Install,$(1),attributes.pm,)
$(call perlmod/Install,$(1),attributes.pm auto/attributes,)
endef endef
$(eval $(call BuildPackage,perlbase-attributes)) $(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 define Package/perlbase-autoloader
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=AutoLoader perl module TITLE:=AutoLoader perl module
@ -66,6 +108,7 @@ endef
define Package/perlbase-autoloader/install define Package/perlbase-autoloader/install
$(call perlmod/Install,$(1),AutoLoader.pm,) $(call perlmod/Install,$(1),AutoLoader.pm,)
$(call perlmod/InstallBaseTests,$(1),cpan/AutoLoader/t)
endef endef
$(eval $(call BuildPackage,perlbase-autoloader)) $(eval $(call BuildPackage,perlbase-autoloader))
@ -78,7 +121,7 @@ DEPENDS+=+perlbase-config +perlbase-essential +perlbase-file
endef endef
define Package/perlbase-autosplit/install define Package/perlbase-autosplit/install
$(call perlmod/Install,$(1),AutoSplit.pm,)
$(call perlmod/Install/NoStrip,$(1),AutoSplit.pm,)
endef endef
$(eval $(call BuildPackage,perlbase-autosplit)) $(eval $(call BuildPackage,perlbase-autosplit))
@ -91,6 +134,7 @@ endef
define Package/perlbase-autouse/install define Package/perlbase-autouse/install
$(call perlmod/Install,$(1),autouse.pm,) $(call perlmod/Install,$(1),autouse.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/autouse/t)
endef endef
$(eval $(call BuildPackage,perlbase-autouse)) $(eval $(call BuildPackage,perlbase-autouse))
@ -104,6 +148,7 @@ endef
define Package/perlbase-b/install define Package/perlbase-b/install
$(call perlmod/Install,$(1),B B.pm auto/B,) $(call perlmod/Install,$(1),B B.pm auto/B,)
$(call perlmod/InstallBaseTests,$(1),cpan/B-Debug/t ext/B/t)
endef endef
$(eval $(call BuildPackage,perlbase-b)) $(eval $(call BuildPackage,perlbase-b))
@ -117,6 +162,7 @@ endef
define Package/perlbase-base/install define Package/perlbase-base/install
$(call perlmod/Install,$(1),base.pm,) $(call perlmod/Install,$(1),base.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/base/t)
endef endef
$(eval $(call BuildPackage,perlbase-base)) $(eval $(call BuildPackage,perlbase-base))
@ -155,7 +201,8 @@ DEPENDS+=+perlbase-bigint +perlbase-essential
endef endef
define Package/perlbase-bignum/install 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 endef
$(eval $(call BuildPackage,perlbase-bignum)) $(eval $(call BuildPackage,perlbase-bignum))
@ -194,6 +241,7 @@ endef
define Package/perlbase-cgi/install define Package/perlbase-cgi/install
$(call perlmod/Install,$(1),CGI CGI.pm,) $(call perlmod/Install,$(1),CGI CGI.pm,)
$(call perlmod/InstallBaseTests,$(1),cpan/CGI/t)
endef endef
$(eval $(call BuildPackage,perlbase-cgi)) $(eval $(call BuildPackage,perlbase-cgi))
@ -202,11 +250,11 @@ $(eval $(call BuildPackage,perlbase-cgi))
define Package/perlbase-charnames define Package/perlbase-charnames
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=charnames perl module 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 endef
define Package/perlbase-charnames/install define Package/perlbase-charnames/install
$(call perlmod/Install,$(1),charnames.pm,)
$(call perlmod/Install,$(1),_charnames.pm charnames.pm,)
endef endef
$(eval $(call BuildPackage,perlbase-charnames)) $(eval $(call BuildPackage,perlbase-charnames))
@ -233,6 +281,7 @@ endef
define Package/perlbase-compress/install define Package/perlbase-compress/install
$(call perlmod/Install,$(1),Compress auto/Compress,) $(call perlmod/Install,$(1),Compress auto/Compress,)
$(call perlmod/InstallBaseTests,$(1),cpan/Compress-Raw-Bzip2/t cpan/Compress-Raw-Zlib/t)
endef endef
$(eval $(call BuildPackage,perlbase-compress)) $(eval $(call BuildPackage,perlbase-compress))
@ -241,10 +290,12 @@ $(eval $(call BuildPackage,perlbase-compress))
define Package/perlbase-config define Package/perlbase-config
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Config perl module TITLE:=Config perl module
DEPENDS+=+perlbase-essential
endef endef
define Package/perlbase-config/install 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 endef
$(eval $(call BuildPackage,perlbase-config)) $(eval $(call BuildPackage,perlbase-config))
@ -253,11 +304,13 @@ $(eval $(call BuildPackage,perlbase-config))
define Package/perlbase-cpan define Package/perlbase-cpan
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=CPAN perl module 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 endef
define Package/perlbase-cpan/install 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 endef
$(eval $(call BuildPackage,perlbase-cpan)) $(eval $(call BuildPackage,perlbase-cpan))
@ -284,6 +337,7 @@ endef
define Package/perlbase-data/install define Package/perlbase-data/install
$(call perlmod/Install,$(1),Data auto/Data,) $(call perlmod/Install,$(1),Data auto/Data,)
$(call perlmod/InstallBaseTests,$(1),dist/Data-Dumper/t)
endef endef
$(eval $(call BuildPackage,perlbase-data)) $(eval $(call BuildPackage,perlbase-data))
@ -310,6 +364,7 @@ endef
define Package/perlbase-db-file/install define Package/perlbase-db-file/install
$(call perlmod/Install,$(1),DB_File.pm auto/DB_File,) $(call perlmod/Install,$(1),DB_File.pm auto/DB_File,)
$(call perlmod/InstallBaseTests,$(1),cpan/DB_File/t)
endef endef
$(eval $(call BuildPackage,perlbase-db-file)) $(eval $(call BuildPackage,perlbase-db-file))
@ -335,7 +390,9 @@ DEPENDS+=+perlbase-essential +perlbase-file
endef endef
define Package/perlbase-devel/install 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 endef
$(eval $(call BuildPackage,perlbase-devel)) $(eval $(call BuildPackage,perlbase-devel))
@ -362,6 +419,8 @@ endef
define Package/perlbase-digest/install define Package/perlbase-digest/install
$(call perlmod/Install,$(1),Digest Digest.pm auto/Digest,) $(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 endef
$(eval $(call BuildPackage,perlbase-digest)) $(eval $(call BuildPackage,perlbase-digest))
@ -388,6 +447,7 @@ endef
define Package/perlbase-dumpvalue/install define Package/perlbase-dumpvalue/install
$(call perlmod/Install,$(1),Dumpvalue.pm,) $(call perlmod/Install,$(1),Dumpvalue.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/Dumpvalue/t)
endef endef
$(eval $(call BuildPackage,perlbase-dumpvalue)) $(eval $(call BuildPackage,perlbase-dumpvalue))
@ -413,6 +473,7 @@ endef
define Package/perlbase-dynaloader/install define Package/perlbase-dynaloader/install
$(call perlmod/Install,$(1),DynaLoader.pm,) $(call perlmod/Install,$(1),DynaLoader.pm,)
$(call perlmod/InstallBaseTests,$(1),ext/DynaLoader/t)
endef endef
$(eval $(call BuildPackage,perlbase-dynaloader)) $(eval $(call BuildPackage,perlbase-dynaloader))
@ -426,6 +487,7 @@ endef
define Package/perlbase-encode/install define Package/perlbase-encode/install
$(call perlmod/Install,$(1),Encode Encode.pm auto/Encode,Encode/PerlIO.pod Encode/Supported.pod) $(call perlmod/Install,$(1),Encode Encode.pm auto/Encode,Encode/PerlIO.pod Encode/Supported.pod)
$(call perlmod/InstallBaseTests,$(1),cpan/Encode/t)
endef endef
$(eval $(call BuildPackage,perlbase-encode)) $(eval $(call BuildPackage,perlbase-encode))
@ -439,6 +501,7 @@ endef
define Package/perlbase-encoding/install define Package/perlbase-encoding/install
$(call perlmod/Install,$(1),encoding encoding.pm,) $(call perlmod/Install,$(1),encoding encoding.pm,)
$(call perlmod/InstallBaseTests,$(1),cpan/encoding-warnings/t)
endef endef
$(eval $(call BuildPackage,perlbase-encoding)) $(eval $(call BuildPackage,perlbase-encoding))
@ -464,6 +527,7 @@ endef
define Package/perlbase-env/install define Package/perlbase-env/install
$(call perlmod/Install,$(1),Env.pm,) $(call perlmod/Install,$(1),Env.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/Env/t)
endef endef
$(eval $(call BuildPackage,perlbase-env)) $(eval $(call BuildPackage,perlbase-env))
@ -477,6 +541,7 @@ endef
define Package/perlbase-errno/install define Package/perlbase-errno/install
$(call perlmod/Install,$(1),Errno.pm,) $(call perlmod/Install,$(1),Errno.pm,)
$(call perlmod/InstallBaseTests,$(1),ext/Errno/t)
endef endef
$(eval $(call BuildPackage,perlbase-errno)) $(eval $(call BuildPackage,perlbase-errno))
@ -485,24 +550,40 @@ $(eval $(call BuildPackage,perlbase-errno))
define Package/perlbase-essential define Package/perlbase-essential
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=essential perl module TITLE:=essential perl module
DEPENDS+=+perlbase-config
endef endef
define Package/perlbase-essential/install 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 endef
$(eval $(call BuildPackage,perlbase-essential)) $(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 define Package/perlbase-extutils
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=ExtUtils perl module 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 endef
define Package/perlbase-extutils/install 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 endef
$(eval $(call BuildPackage,perlbase-extutils)) $(eval $(call BuildPackage,perlbase-extutils))
@ -529,6 +610,7 @@ endef
define Package/perlbase-fcntl/install define Package/perlbase-fcntl/install
$(call perlmod/Install,$(1),Fcntl.pm auto/Fcntl,) $(call perlmod/Install,$(1),Fcntl.pm auto/Fcntl,)
$(call perlmod/InstallBaseTests,$(1),ext/Fcntl/t)
endef endef
$(eval $(call BuildPackage,perlbase-fcntl)) $(eval $(call BuildPackage,perlbase-fcntl))
@ -566,7 +648,9 @@ DEPENDS+=+perlbase-class +perlbase-config +perlbase-cwd +perlbase-errno +perlbas
endef endef
define Package/perlbase-file/install 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 endef
$(eval $(call BuildPackage,perlbase-file)) $(eval $(call BuildPackage,perlbase-file))
@ -580,6 +664,7 @@ endef
define Package/perlbase-filecache/install define Package/perlbase-filecache/install
$(call perlmod/Install,$(1),FileCache.pm,) $(call perlmod/Install,$(1),FileCache.pm,)
$(call perlmod/InstallBaseTests,$(1),ext/FileCache/t)
endef endef
$(eval $(call BuildPackage,perlbase-filecache)) $(eval $(call BuildPackage,perlbase-filecache))
@ -618,6 +703,7 @@ endef
define Package/perlbase-filter/install define Package/perlbase-filter/install
$(call perlmod/Install,$(1),Filter auto/Filter,) $(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 endef
$(eval $(call BuildPackage,perlbase-filter)) $(eval $(call BuildPackage,perlbase-filter))
@ -644,6 +730,7 @@ endef
define Package/perlbase-gdbm-file/install define Package/perlbase-gdbm-file/install
$(call perlmod/Install,$(1),GDBM_File.pm auto/GDBM_File,) $(call perlmod/Install,$(1),GDBM_File.pm auto/GDBM_File,)
$(call perlmod/InstallBaseTests,$(1),ext/GDBM_File/t)
endef endef
$(eval $(call BuildPackage,perlbase-gdbm-file)) $(eval $(call BuildPackage,perlbase-gdbm-file))
@ -657,6 +744,7 @@ endef
define Package/perlbase-getopt/install define Package/perlbase-getopt/install
$(call perlmod/Install,$(1),Getopt,) $(call perlmod/Install,$(1),Getopt,)
$(call perlmod/InstallBaseTests,$(1),cpan/Getopt-Long/t)
endef endef
$(eval $(call BuildPackage,perlbase-getopt)) $(eval $(call BuildPackage,perlbase-getopt))
@ -670,11 +758,26 @@ endef
define Package/perlbase-hash/install define Package/perlbase-hash/install
$(call perlmod/Install,$(1),Hash auto/Hash,) $(call perlmod/Install,$(1),Hash auto/Hash,)
$(call perlmod/InstallBaseTests,$(1),ext/Hash-Util-FieldHash/t ext/Hash-Util/t)
endef endef
$(eval $(call BuildPackage,perlbase-hash)) $(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 define Package/perlbase-i18n
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=I18N perl module TITLE:=I18N perl module
@ -682,7 +785,9 @@ DEPENDS+=+perlbase-essential +perlbase-posix
endef endef
define Package/perlbase-i18n/install 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 endef
$(eval $(call BuildPackage,perlbase-i18n)) $(eval $(call BuildPackage,perlbase-i18n))
@ -695,6 +800,7 @@ endef
define Package/perlbase-if/install define Package/perlbase-if/install
$(call perlmod/Install,$(1),if.pm,) $(call perlmod/Install,$(1),if.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/if/t)
endef endef
$(eval $(call BuildPackage,perlbase-if)) $(eval $(call BuildPackage,perlbase-if))
@ -720,6 +826,7 @@ endef
define Package/perlbase-io/install define Package/perlbase-io/install
$(call perlmod/Install,$(1),IO IO.pm auto/IO,) $(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 endef
$(eval $(call BuildPackage,perlbase-io)) $(eval $(call BuildPackage,perlbase-io))
@ -733,11 +840,26 @@ endef
define Package/perlbase-ipc/install define Package/perlbase-ipc/install
$(call perlmod/Install,$(1),IPC auto/IPC,) $(call perlmod/Install,$(1),IPC auto/IPC,)
$(call perlmod/InstallBaseTests,$(1),cpan/IPC-Cmd/t cpan/IPC-SysV/t ext/IPC-Open3/t)
endef endef
$(eval $(call BuildPackage,perlbase-ipc)) $(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 define Package/perlbase-less
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=less perl module TITLE:=less perl module
@ -772,6 +894,7 @@ endef
define Package/perlbase-locale/install 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/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 endef
$(eval $(call BuildPackage,perlbase-locale)) $(eval $(call BuildPackage,perlbase-locale))
@ -785,6 +908,7 @@ endef
define Package/perlbase-math/install define Package/perlbase-math/install
$(call perlmod/Install,$(1),Math auto/Math,) $(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 endef
$(eval $(call BuildPackage,perlbase-math)) $(eval $(call BuildPackage,perlbase-math))
@ -798,6 +922,7 @@ endef
define Package/perlbase-memoize/install define Package/perlbase-memoize/install
$(call perlmod/Install,$(1),Memoize Memoize.pm,) $(call perlmod/Install,$(1),Memoize Memoize.pm,)
$(call perlmod/InstallBaseTests,$(1),cpan/Memoize/t)
endef endef
$(eval $(call BuildPackage,perlbase-memoize)) $(eval $(call BuildPackage,perlbase-memoize))
@ -811,6 +936,7 @@ endef
define Package/perlbase-mime/install define Package/perlbase-mime/install
$(call perlmod/Install,$(1),MIME auto/MIME,) $(call perlmod/Install,$(1),MIME auto/MIME,)
$(call perlmod/InstallBaseTests,$(1),cpan/MIME-Base64/t)
endef endef
$(eval $(call BuildPackage,perlbase-mime)) $(eval $(call BuildPackage,perlbase-mime))
@ -819,11 +945,13 @@ $(eval $(call BuildPackage,perlbase-mime))
define Package/perlbase-module define Package/perlbase-module
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Module perl module 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 endef
define Package/perlbase-module/install 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 endef
$(eval $(call BuildPackage,perlbase-module)) $(eval $(call BuildPackage,perlbase-module))
@ -836,7 +964,7 @@ DEPENDS+=+perlbase-essential
endef endef
define Package/perlbase-mro/install define Package/perlbase-mro/install
$(call perlmod/Install,$(1),mro.pm,)
$(call perlmod/Install,$(1),auto/mro mro.pm,)
endef endef
$(eval $(call BuildPackage,perlbase-mro)) $(eval $(call BuildPackage,perlbase-mro))
@ -850,6 +978,7 @@ endef
define Package/perlbase-net/install define Package/perlbase-net/install
$(call perlmod/Install,$(1),Net,Net/libnetFAQ.pod) $(call perlmod/Install,$(1),Net,Net/libnetFAQ.pod)
$(call perlmod/InstallBaseTests,$(1),cpan/libnet/t dist/Net-Ping/t)
endef endef
$(eval $(call BuildPackage,perlbase-net)) $(eval $(call BuildPackage,perlbase-net))
@ -863,6 +992,7 @@ endef
define Package/perlbase-next/install define Package/perlbase-next/install
$(call perlmod/Install,$(1),NEXT.pm,) $(call perlmod/Install,$(1),NEXT.pm,)
$(call perlmod/InstallBaseTests,$(1),cpan/NEXT/t)
endef endef
$(eval $(call BuildPackage,perlbase-next)) $(eval $(call BuildPackage,perlbase-next))
@ -888,7 +1018,9 @@ DEPENDS+=+perlbase-essential +perlbase-xsloader
endef endef
define Package/perlbase-opcode/install 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 endef
$(eval $(call BuildPackage,perlbase-opcode)) $(eval $(call BuildPackage,perlbase-opcode))
@ -920,6 +1052,20 @@ endef
$(eval $(call BuildPackage,perlbase-ops)) $(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 define Package/perlbase-package
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Package perl module TITLE:=Package perl module
@ -928,6 +1074,7 @@ endef
define Package/perlbase-package/install define Package/perlbase-package/install
$(call perlmod/Install,$(1),Package,) $(call perlmod/Install,$(1),Package,)
$(call perlmod/InstallBaseTests,$(1),cpan/Package-Constants/t)
endef endef
$(eval $(call BuildPackage,perlbase-package)) $(eval $(call BuildPackage,perlbase-package))
@ -941,6 +1088,7 @@ endef
define Package/perlbase-params/install define Package/perlbase-params/install
$(call perlmod/Install,$(1),Params,) $(call perlmod/Install,$(1),Params,)
$(call perlmod/InstallBaseTests,$(1),cpan/Params-Check/t)
endef endef
$(eval $(call BuildPackage,perlbase-params)) $(eval $(call BuildPackage,perlbase-params))
@ -967,6 +1115,7 @@ endef
define Package/perlbase-perlio/install define Package/perlbase-perlio/install
$(call perlmod/Install,$(1),PerlIO PerlIO.pm auto/PerlIO,) $(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 endef
$(eval $(call BuildPackage,perlbase-perlio)) $(eval $(call BuildPackage,perlbase-perlio))
@ -979,7 +1128,12 @@ DEPENDS+=+perlbase-config +perlbase-cwd +perlbase-encode +perlbase-essential +pe
endef endef
define Package/perlbase-pod/install 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 endef
$(eval $(call BuildPackage,perlbase-pod)) $(eval $(call BuildPackage,perlbase-pod))
@ -993,6 +1147,7 @@ endef
define Package/perlbase-posix/install define Package/perlbase-posix/install
$(call perlmod/Install,$(1),POSIX.pm auto/POSIX,) $(call perlmod/Install,$(1),POSIX.pm auto/POSIX,)
$(call perlmod/InstallBaseTests,$(1),ext/POSIX/Makefile.PL ext/POSIX/POSIX.xs ext/POSIX/t)
endef endef
$(eval $(call BuildPackage,perlbase-posix)) $(eval $(call BuildPackage,perlbase-posix))
@ -1006,6 +1161,7 @@ endef
define Package/perlbase-re/install define Package/perlbase-re/install
$(call perlmod/Install,$(1),auto/re re.pm,) $(call perlmod/Install,$(1),auto/re re.pm,)
$(call perlmod/InstallBaseTests,$(1),ext/re/t)
endef endef
$(eval $(call BuildPackage,perlbase-re)) $(eval $(call BuildPackage,perlbase-re))
@ -1019,6 +1175,7 @@ endef
define Package/perlbase-safe/install define Package/perlbase-safe/install
$(call perlmod/Install,$(1),Safe.pm,) $(call perlmod/Install,$(1),Safe.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/Safe/t)
endef endef
$(eval $(call BuildPackage,perlbase-safe)) $(eval $(call BuildPackage,perlbase-safe))
@ -1032,6 +1189,8 @@ endef
define Package/perlbase-scalar/install define Package/perlbase-scalar/install
$(call perlmod/Install,$(1),Scalar,) $(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 endef
$(eval $(call BuildPackage,perlbase-scalar)) $(eval $(call BuildPackage,perlbase-scalar))
@ -1045,6 +1204,7 @@ endef
define Package/perlbase-sdbm-file/install define Package/perlbase-sdbm-file/install
$(call perlmod/Install,$(1),SDBM_File.pm auto/SDBM_File,) $(call perlmod/Install,$(1),SDBM_File.pm auto/SDBM_File,)
$(call perlmod/InstallBaseTests,$(1),ext/SDBM_File/t)
endef endef
$(eval $(call BuildPackage,perlbase-sdbm-file)) $(eval $(call BuildPackage,perlbase-sdbm-file))
@ -1058,6 +1218,7 @@ endef
define Package/perlbase-search/install define Package/perlbase-search/install
$(call perlmod/Install,$(1),Search,) $(call perlmod/Install,$(1),Search,)
$(call perlmod/InstallBaseTests,$(1),dist/Search-Dict/t)
endef endef
$(eval $(call BuildPackage,perlbase-search)) $(eval $(call BuildPackage,perlbase-search))
@ -1084,6 +1245,7 @@ endef
define Package/perlbase-selfloader/install define Package/perlbase-selfloader/install
$(call perlmod/Install,$(1),SelfLoader.pm,) $(call perlmod/Install,$(1),SelfLoader.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/SelfLoader/t)
endef endef
$(eval $(call BuildPackage,perlbase-selfloader)) $(eval $(call BuildPackage,perlbase-selfloader))
@ -1110,6 +1272,7 @@ endef
define Package/perlbase-socket/install define Package/perlbase-socket/install
$(call perlmod/Install,$(1),Socket.pm auto/Socket,) $(call perlmod/Install,$(1),Socket.pm auto/Socket,)
$(call perlmod/InstallBaseTests,$(1),cpan/Socket/t)
endef endef
$(eval $(call BuildPackage,perlbase-socket)) $(eval $(call BuildPackage,perlbase-socket))
@ -1136,6 +1299,7 @@ endef
define Package/perlbase-storable/install define Package/perlbase-storable/install
$(call perlmod/Install,$(1),Storable.pm auto/Storable,) $(call perlmod/Install,$(1),Storable.pm auto/Storable,)
$(call perlmod/InstallBaseTests,$(1),dist/Storable/t)
endef endef
$(eval $(call BuildPackage,perlbase-storable)) $(eval $(call BuildPackage,perlbase-storable))
@ -1161,11 +1325,25 @@ endef
define Package/perlbase-sys/install define Package/perlbase-sys/install
$(call perlmod/Install,$(1),Sys auto/Sys,) $(call perlmod/Install,$(1),Sys auto/Sys,)
$(call perlmod/InstallBaseTests,$(1),cpan/Sys-Syslog/t ext/Sys-Hostname/t)
endef endef
$(eval $(call BuildPackage,perlbase-sys)) $(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 define Package/perlbase-term
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Term perl module TITLE:=Term perl module
@ -1174,6 +1352,7 @@ endef
define Package/perlbase-term/install define Package/perlbase-term/install
$(call perlmod/Install,$(1),Term,) $(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 endef
$(eval $(call BuildPackage,perlbase-term)) $(eval $(call BuildPackage,perlbase-term))
@ -1182,11 +1361,13 @@ $(eval $(call BuildPackage,perlbase-term))
define Package/perlbase-test define Package/perlbase-test
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Test perl module 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 endef
define Package/perlbase-test/install 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_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prove $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prove $(1)/usr/bin
endef endef
@ -1197,11 +1378,12 @@ $(eval $(call BuildPackage,perlbase-test))
define Package/perlbase-text define Package/perlbase-text
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=Text perl module TITLE:=Text perl module
DEPENDS+=+perlbase-essential
DEPENDS+=+perlbase-essential +perlbase-selfloader
endef endef
define Package/perlbase-text/install define Package/perlbase-text/install
$(call perlmod/Install,$(1),Text,) $(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 endef
$(eval $(call BuildPackage,perlbase-text)) $(eval $(call BuildPackage,perlbase-text))
@ -1215,6 +1397,7 @@ endef
define Package/perlbase-thread/install define Package/perlbase-thread/install
$(call perlmod/Install,$(1),Thread Thread.pm,) $(call perlmod/Install,$(1),Thread Thread.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/Thread-Queue/t dist/Thread-Semaphore/t)
endef endef
$(eval $(call BuildPackage,perlbase-thread)) $(eval $(call BuildPackage,perlbase-thread))
@ -1228,6 +1411,7 @@ endef
define Package/perlbase-threads/install define Package/perlbase-threads/install
$(call perlmod/Install,$(1),auto/threads threads threads.pm,) $(call perlmod/Install,$(1),auto/threads threads threads.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/threads-shared/t dist/threads/t)
endef endef
$(eval $(call BuildPackage,perlbase-threads)) $(eval $(call BuildPackage,perlbase-threads))
@ -1240,7 +1424,8 @@ DEPENDS+=+perlbase-essential +perlbase-fcntl +perlbase-posix
endef endef
define Package/perlbase-tie/install 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 endef
$(eval $(call BuildPackage,perlbase-tie)) $(eval $(call BuildPackage,perlbase-tie))
@ -1254,6 +1439,7 @@ endef
define Package/perlbase-time/install define Package/perlbase-time/install
$(call perlmod/Install,$(1),Time auto/Time,) $(call perlmod/Install,$(1),Time auto/Time,)
$(call perlmod/InstallBaseTests,$(1),cpan/Time-HiRes/t cpan/Time-Local/t cpan/Time-Piece/t)
endef endef
$(eval $(call BuildPackage,perlbase-time)) $(eval $(call BuildPackage,perlbase-time))
@ -1267,6 +1453,7 @@ endef
define Package/perlbase-unicode/install define Package/perlbase-unicode/install
$(call perlmod/Install,$(1),Unicode auto/Unicode,) $(call perlmod/Install,$(1),Unicode auto/Unicode,)
$(call perlmod/InstallBaseTests,$(1),cpan/Unicode-Collate/t cpan/Unicode-Normalize/t)
endef endef
$(eval $(call BuildPackage,perlbase-unicode)) $(eval $(call BuildPackage,perlbase-unicode))
@ -1325,11 +1512,12 @@ $(eval $(call BuildPackage,perlbase-utf8))
define Package/perlbase-version define Package/perlbase-version
$(call Package/perlbase-template) $(call Package/perlbase-template)
TITLE:=version perl module TITLE:=version perl module
DEPENDS+=+perlbase-essential
DEPENDS+=+perlbase-config +perlbase-essential
endef endef
define Package/perlbase-version/install 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 endef
$(eval $(call BuildPackage,perlbase-version)) $(eval $(call BuildPackage,perlbase-version))
@ -1342,6 +1530,10 @@ endef
define Package/perlbase-xsloader/install define Package/perlbase-xsloader/install
$(call perlmod/Install,$(1),XSLoader.pm,) $(call perlmod/Install,$(1),XSLoader.pm,)
$(call perlmod/InstallBaseTests,$(1),dist/XSLoader/t ext/XS-APItest/t ext/XS-Typemap/t)
endef endef
$(eval $(call BuildPackage,perlbase-xsloader)) $(eval $(call BuildPackage,perlbase-xsloader))
# Generated Mon Oct 13 10:06:15 2014

Loading…
Cancel
Save