diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2006-09-28 22:20:02 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2006-09-28 22:20:02 +0000 |
commit | 7842deab11a4c6bfcf248783707667223432e3c9 (patch) | |
tree | 9388f383e5ff6a709410123492d8c5d30d4798b7 | |
parent | 061d89ea56ac50554456d1f807ef97e581439f2b (diff) | |
parent | f662cfc52df978469eef38abbddcaea297bb478c (diff) |
merge of '40ec719fc9cc4cb736be0ec589bede256813af3d'
and '879222e30e61459039f6b006501371c7941f25b1'
22 files changed, 59 insertions, 43 deletions
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass index b7cdf7d821..0660ef9b82 100644 --- a/classes/cpan_build.bbclass +++ b/classes/cpan_build.bbclass @@ -7,6 +7,23 @@ FILES_${PN} += '${libdir}/perl5' DEPENDS += "perl-native" RDEPENDS += "perl" +# +# We also need to have built libmodule-build-perl-native for +# everything except libmodule-build-perl-native itself (which uses +# this class, but uses itself as the probider of +# libmodule-build-perl) +# +def cpan_build_dep_prepend(d): + import bb; + if bb.data.getVar('CPAN_BUILD_DEPS', d, 1): + return '' + pn = bb.data.getVar('PN', d, 1) + if pn in ['libmodule-build-perl', 'libmodule-build-perl-native']: + return '' + return 'libmodule-build-perl-native ' + +DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}" + def is_crosscompiling(d): import bb if not bb.data.inherits_class('native', d): diff --git a/packages/perl/libarchive-tar-perl_1.30.bb b/packages/perl/libarchive-tar-perl_1.30.bb index 258cf1cb67..21b961242a 100644 --- a/packages/perl/libarchive-tar-perl_1.30.bb +++ b/packages/perl/libarchive-tar-perl_1.30.bb @@ -1,10 +1,10 @@ DESCRIPTION = "Archive::Tar - module for manipulations of tar archives" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS += "libio-zlib-perl-native" RDEPENDS += "libio-zlib-perl" -PR = "r0" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KA/KANE/Archive-Tar-1.30.tar.gz" diff --git a/packages/perl/libcache-cache-perl_1.05.bb b/packages/perl/libcache-cache-perl_1.05.bb index 1869659aa8..d0e7ec46d5 100644 --- a/packages/perl/libcache-cache-perl_1.05.bb +++ b/packages/perl/libcache-cache-perl_1.05.bb @@ -1,11 +1,11 @@ DESCRIPTION = "Cache::Cache -- the Cache interface." SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "libdigest-sha1-perl-native liberror-perl-native \ libipc-sharelite-perl-native" RDEPENDS = "libdigest-sha1-perl liberror-perl libipc-sharelite-perl" -PR = "r2" +PR = "r3" SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DC/DCLINTON/Cache-Cache-1.05.tar.gz" diff --git a/packages/perl/libclass-container-perl_0.12.bb b/packages/perl/libclass-container-perl_0.12.bb index e3643575e2..38fbebbe01 100644 --- a/packages/perl/libclass-container-perl_0.12.bb +++ b/packages/perl/libclass-container-perl_0.12.bb @@ -1,10 +1,10 @@ DESCRIPTION = "Class::Container - Glues object frameworks together transparently" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "libparams-validate-perl-native" RDEPENDS = "libparams-validate-perl" -PR = "r2" +PR = "r3" SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Class-Container-0.12.tar.gz" diff --git a/packages/perl/libclass-data-inheritable-perl_0.06.bb b/packages/perl/libclass-data-inheritable-perl_0.06.bb index c4e28ba434..56f099669b 100644 --- a/packages/perl/libclass-data-inheritable-perl_0.06.bb +++ b/packages/perl/libclass-data-inheritable-perl_0.06.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Class::Data::Inheritable - Inheritable, overridable class data" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r2" +LICENSE = "Artistic|GPL" +PR = "r3" SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-Data-Inheritable-0.06.tar.gz" diff --git a/packages/perl/libcompress-zlib-perl_1.42.bb b/packages/perl/libcompress-zlib-perl_1.42.bb index c26678a9b9..dfbfdb5633 100644 --- a/packages/perl/libcompress-zlib-perl_1.42.bb +++ b/packages/perl/libcompress-zlib-perl_1.42.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Compress::Zlib - Interface to zlib compression library" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-1.42.tar.gz" diff --git a/packages/perl/libdevel-stacktrace-perl_1.13.bb b/packages/perl/libdevel-stacktrace-perl_1.13.bb index 254d82afa1..b4d9b9febd 100644 --- a/packages/perl/libdevel-stacktrace-perl_1.13.bb +++ b/packages/perl/libdevel-stacktrace-perl_1.13.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Devel::StackTrace - Stack trace and stack trace frame objects" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r2" +LICENSE = "Artistic|GPL" +PR = "r3" SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Devel-StackTrace-1.13.tar.gz" diff --git a/packages/perl/libdigest-sha1-perl_2.11.bb b/packages/perl/libdigest-sha1-perl_2.11.bb index 712c0e6737..9d40110653 100644 --- a/packages/perl/libdigest-sha1-perl_2.11.bb +++ b/packages/perl/libdigest-sha1-perl_2.11.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r5" +LICENSE = "Artistic|GPL" +PR = "r6" SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz" diff --git a/packages/perl/liberror-perl_0.17004.bb b/packages/perl/liberror-perl_0.17004.bb index f7f86db907..b2411adecf 100644 --- a/packages/perl/liberror-perl_0.17004.bb +++ b/packages/perl/liberror-perl_0.17004.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Error - Error/exception handling in an OO-ish way" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r2" +LICENSE = "Artistic|GPL" +PR = "r4" SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Error-0.17004.tar.gz" diff --git a/packages/perl/libexception-class-perl_1.23.bb b/packages/perl/libexception-class-perl_1.23.bb index bcd7f1fbfd..b62e4d0ab1 100644 --- a/packages/perl/libexception-class-perl_1.23.bb +++ b/packages/perl/libexception-class-perl_1.23.bb @@ -1,10 +1,10 @@ DESCRIPTION = "Exception::Class - A module that allows you to declare real exception classes in Perl" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "libclass-data-inheritable-perl-native libdevel-stacktrace-perl-native" RDEPENDS = "libclass-data-inheritable-perl libdevel-stacktrace-perl" -PR = "r3" +PR = "r4" SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-1.23.tar.gz" diff --git a/packages/perl/libextutils-cbuilder-perl_0.18.bb b/packages/perl/libextutils-cbuilder-perl_0.18.bb index 8bf18e9f88..4b2b874972 100644 --- a/packages/perl/libextutils-cbuilder-perl_0.18.bb +++ b/packages/perl/libextutils-cbuilder-perl_0.18.bb @@ -1,8 +1,8 @@ DESCRIPTION = "ExtUtils::CBuilder - Compile and link C code for Perl modules" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/ExtUtils-CBuilder-0.18.tar.gz" diff --git a/packages/perl/libextutils-parsexs-perl_2.16.bb b/packages/perl/libextutils-parsexs-perl_2.16.bb index 313a743713..57f57edc06 100644 --- a/packages/perl/libextutils-parsexs-perl_2.16.bb +++ b/packages/perl/libextutils-parsexs-perl_2.16.bb @@ -1,8 +1,8 @@ DESCRIPTION = "ExtUtils::ParseXS - converts Perl XS code into C code" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/ExtUtils-ParseXS-2.16.tar.gz" diff --git a/packages/perl/libio-zlib-perl_1.04.bb b/packages/perl/libio-zlib-perl_1.04.bb index b25aeeee83..0cdbd93bdd 100644 --- a/packages/perl/libio-zlib-perl_1.04.bb +++ b/packages/perl/libio-zlib-perl_1.04.bb @@ -1,10 +1,10 @@ DESCRIPTION = "IO::Zlib - IO:: style interface to Compress::Zlib" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "libcompress-zlib-perl-native" RDEPENDS += "libcompress-zlib-perl" -PR = "r0" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TO/TOMHUGHES/IO-Zlib-1.04.tar.gz" diff --git a/packages/perl/libipc-sharelite-perl_0.09.bb b/packages/perl/libipc-sharelite-perl_0.09.bb index 6e2c7f16e3..39808423a4 100644 --- a/packages/perl/libipc-sharelite-perl_0.09.bb +++ b/packages/perl/libipc-sharelite-perl_0.09.bb @@ -1,8 +1,8 @@ DESCRIPTION = "IPC::ShareLite - Light-weight interface to shared memory" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r5" +LICENSE = "Artistic|GPL" +PR = "r6" SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MAURICE/IPC-ShareLite-0.09.tar.gz" diff --git a/packages/perl/liblocale-gettext-perl_1.05.bb b/packages/perl/liblocale-gettext-perl_1.05.bb index 54e85c751f..0f98e9bde0 100644 --- a/packages/perl/liblocale-gettext-perl_1.05.bb +++ b/packages/perl/liblocale-gettext-perl_1.05.bb @@ -1,9 +1,9 @@ DESCRIPTION = "Locale::gettext - message handling functions" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "virtual/libintl" -PR = "r0" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-1.05.tar.gz" diff --git a/packages/perl/liblog-dispatch-perl_2.13.bb b/packages/perl/liblog-dispatch-perl_2.13.bb index b421dafa03..e14e65cb65 100644 --- a/packages/perl/liblog-dispatch-perl_2.13.bb +++ b/packages/perl/liblog-dispatch-perl_2.13.bb @@ -1,9 +1,8 @@ DESCRIPTION = "Log::Dispatch - Dispatches messages to one or more outputs" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -DEPENDS = "libmodule-build-perl-native" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r2" SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Log-Dispatch-2.13.tar.gz" diff --git a/packages/perl/liblog-log4perl-perl_1.06.bb b/packages/perl/liblog-log4perl-perl_1.06.bb index 31495374e8..b12b6c411a 100644 --- a/packages/perl/liblog-log4perl-perl_1.06.bb +++ b/packages/perl/liblog-log4perl-perl_1.06.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Log::Log4perl - Log4j implementation for Perl" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-1.06.tar.gz" diff --git a/packages/perl/libmodule-build-perl_0.2805.bb b/packages/perl/libmodule-build-perl_0.2805.bb index ef646a5c1c..f8910f406d 100644 --- a/packages/perl/libmodule-build-perl_0.2805.bb +++ b/packages/perl/libmodule-build-perl_0.2805.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Module::Build - Build and install Perl modules" SECTION = "libs" SRC_URI = "http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Module-Build-0.2805.tar.gz" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" DEPENDS = "libyaml-perl-native libversion-perl-native \ libextutils-cbuilder-perl-native \ @@ -9,7 +9,7 @@ DEPENDS = "libyaml-perl-native libversion-perl-native \ libarchive-tar-perl-native" RDEPENDS = "libyaml-perl libversion-perl libextutils-cbuilder-perl \ libextutils-parsexs-perl libarchive-tar-perl" -PR = "r2" +PR = "r3" S = "${WORKDIR}/Module-Build-${PV}" diff --git a/packages/perl/libnet-ip-perl_1.25.bb b/packages/perl/libnet-ip-perl_1.25.bb index 1bce440731..e8de918a5e 100644 --- a/packages/perl/libnet-ip-perl_1.25.bb +++ b/packages/perl/libnet-ip-perl_1.25.bb @@ -1,10 +1,10 @@ DESCRIPTION = "Net::IP - Perl extension for manipulating IPv4/IPv6 addresses" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS += "libio-zlib-perl-native" RDEPENDS += "libio-zlib-perl" -PR = "r0" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-1.25.tar.gz" diff --git a/packages/perl/libparams-validate-perl_0.86.bb b/packages/perl/libparams-validate-perl_0.86.bb index cd628f4809..55bbe54d0e 100644 --- a/packages/perl/libparams-validate-perl_0.86.bb +++ b/packages/perl/libparams-validate-perl_0.86.bb @@ -1,8 +1,8 @@ DESCRIPTION = "Params::Validate - Validate method/function parameters" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r5" +LICENSE = "Artistic|GPL" +PR = "r6" SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-0.86.tar.gz" diff --git a/packages/perl/libversion-perl_0.6701.bb b/packages/perl/libversion-perl_0.6701.bb index 19b0631a04..cbbe2fda40 100644 --- a/packages/perl/libversion-perl_0.6701.bb +++ b/packages/perl/libversion-perl_0.6701.bb @@ -1,8 +1,8 @@ DESCRIPTION = "version - Perl extension for Version Objects" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" -PR = "r0" +LICENSE = "Artistic|GPL" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/version-0.6701.tar.gz" diff --git a/packages/perl/libyaml-perl_0.62.bb b/packages/perl/libyaml-perl_0.62.bb index 2874fa9266..290f28c294 100644 --- a/packages/perl/libyaml-perl_0.62.bb +++ b/packages/perl/libyaml-perl_0.62.bb @@ -1,11 +1,11 @@ DESCRIPTION = "YAML - YAML Ain't Markup Language (tm)" SECTION = "libs" MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>" -LICENSE = "Artistic" +LICENSE = "Artistic|GPL" DEPENDS = "libdigest-sha1-perl-native liberror-perl-native \ libipc-sharelite-perl-native" RDEPENDS = "libdigest-sha1-perl liberror-perl libipc-sharelite-perl" -PR = "r0" +PR = "r1" SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-0.62.tar.gz" |