summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-05-04 02:09:42 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-05-04 02:09:42 +0000
commitbafa9b3ec1bd91cd710d587a31b58db4c1e2a503 (patch)
treed076800221bf8f9b9875e9c36b828852e2498ace
parent470e37be6f885f4980583cf0b99b23858d40b2f8 (diff)
perl: Add the .debug directories that to FILES_${PN}-dbg in the
cpan-base.bbclass, and then update the cpan modules to no longer manually specify this. Also remove references to the new removed .packlist files.
-rw-r--r--classes/cpan-base.bbclass10
-rw-r--r--packages/perl/libcompress-zlib-perl_1.42.bb4
-rw-r--r--packages/perl/libdigest-sha1-perl_2.11.bb8
-rw-r--r--packages/perl/libipc-sharelite-perl_0.09.bb4
-rw-r--r--packages/perl/liblocale-gettext-perl_1.05.bb4
-rw-r--r--packages/perl/libmath-bigint-gmp-perl_1.18.bb4
-rw-r--r--packages/perl/libparams-validate-perl_0.86.bb4
-rw-r--r--packages/perl/libversion-perl_0.6701.bb4
-rw-r--r--packages/perl/libxml-parser-perl_2.34.bb4
9 files changed, 17 insertions, 29 deletions
diff --git a/classes/cpan-base.bbclass b/classes/cpan-base.bbclass
index e10148aba8..a5fdb33895 100644
--- a/classes/cpan-base.bbclass
+++ b/classes/cpan-base.bbclass
@@ -1,8 +1,8 @@
#
-# This is for perl modules that use the old Makefile.PL build system
+# cpan-base providers various perl related information needed for building
+# cpan modules
#
-FILES_${PN} += '${libdir}/perl5 ${datadir}/perl5'
-EXTRA_CPANFLAGS ?= ""
+FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5"
DEPENDS += "perl perl-native"
RDEPENDS += "perl"
@@ -49,3 +49,7 @@ def is_target(d):
IS_NEW_PERL = "${@is_new_perl(d)}"
PERLLIBDIRS = "${@perl_get_libdirs(d)}"
+
+FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/*/.debug \
+ ${PERLLIBDIRS}/auto/*/*/.debug \
+ ${PERLLIBDIRS}/auto/*/*/*/.debug"
diff --git a/packages/perl/libcompress-zlib-perl_1.42.bb b/packages/perl/libcompress-zlib-perl_1.42.bb
index 8afb0141f6..2fa12f9cd6 100644
--- a/packages/perl/libcompress-zlib-perl_1.42.bb
+++ b/packages/perl/libcompress-zlib-perl_1.42.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Compress::Zlib - Interface to zlib compression library"
SECTION = "libs"
LICENSE = "Artistic|GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-${PV}.tar.gz"
@@ -10,6 +10,4 @@ S = "${WORKDIR}/Compress-Zlib-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/Compress/Zlib/* \
- ${PERLLIBDIRS}/auto/Compress/Zlib/.packlist \
${PERLLIBDIRS}/Compress"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Compress/Zlib/.debug"
diff --git a/packages/perl/libdigest-sha1-perl_2.11.bb b/packages/perl/libdigest-sha1-perl_2.11.bb
index 3b139299fe..67bb6830fa 100644
--- a/packages/perl/libdigest-sha1-perl_2.11.bb
+++ b/packages/perl/libdigest-sha1-perl_2.11.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm"
SECTION = "libs"
LICENSE = "Artistic|GPL"
-PR = "r9"
+PR = "r10"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz"
@@ -9,7 +9,5 @@ S = "${WORKDIR}/Digest-SHA1-${PV}"
inherit cpan
-FILES_${PN} += "${PERLLIBDIRS}/auto/Digest/SHA1/* \
- ${PERLLIBDIRS}/auto/Digest/SHA1/.packlist \
- ${PERLLIBDIRS}/Digest"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Digest/SHA1/.debug"
+FILES_${PN} = "${PERLLIBDIRS}/auto/Digest/SHA1/* \
+ ${PERLLIBDIRS}/Digest"
diff --git a/packages/perl/libipc-sharelite-perl_0.09.bb b/packages/perl/libipc-sharelite-perl_0.09.bb
index 2ee30ddd8f..65657ee4ae 100644
--- a/packages/perl/libipc-sharelite-perl_0.09.bb
+++ b/packages/perl/libipc-sharelite-perl_0.09.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "IPC::ShareLite - Light-weight interface to shared memory"
SECTION = "libs"
LICENSE = "Artistic|GPL"
-PR = "r9"
+PR = "r10"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MAURICE/IPC-ShareLite-${PV}.tar.gz"
@@ -10,6 +10,4 @@ S = "${WORKDIR}/IPC-ShareLite-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/IPC/ShareLite/* \
- ${PERLLIBDIRS}/auto/IPC/ShareLite/.packlist \
${PERLLIBDIRS}/IPC"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/IPC/ShareLite/.debug"
diff --git a/packages/perl/liblocale-gettext-perl_1.05.bb b/packages/perl/liblocale-gettext-perl_1.05.bb
index c2aa649a42..1fb6ff5af3 100644
--- a/packages/perl/liblocale-gettext-perl_1.05.bb
+++ b/packages/perl/liblocale-gettext-perl_1.05.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Locale::gettext - message handling functions"
SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS = "virtual/libintl"
-PR = "r5"
+PR = "r6"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-${PV}.tar.gz"
@@ -11,6 +11,4 @@ S = "${WORKDIR}/gettext-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/Locale/gettext/* \
- ${PERLLIBDIRS}/auto/Locale/gettext/.packlist \
${PERLLIBDIRS}/Locale"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Locale/gettext/.debug"
diff --git a/packages/perl/libmath-bigint-gmp-perl_1.18.bb b/packages/perl/libmath-bigint-gmp-perl_1.18.bb
index c9efad46aa..eed99e1284 100644
--- a/packages/perl/libmath-bigint-gmp-perl_1.18.bb
+++ b/packages/perl/libmath-bigint-gmp-perl_1.18.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS += "gmp-native"
RDEPENDS += "gmp"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TE/TELS/math/Math-BigInt-GMP-${PV}.tar.gz"
@@ -12,6 +12,4 @@ S = "${WORKDIR}/Math-BigInt-GMP-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/Math/BigInt/GMP/* \
- ${PERLLIBDIRS}/auto/Math/BigInt/GMP/.packlist \
${PERLLIBDIRS}/Math"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Math/BigInt/GMP/.debug"
diff --git a/packages/perl/libparams-validate-perl_0.86.bb b/packages/perl/libparams-validate-perl_0.86.bb
index 006d9602e7..bc42b47a33 100644
--- a/packages/perl/libparams-validate-perl_0.86.bb
+++ b/packages/perl/libparams-validate-perl_0.86.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Params::Validate - Validate method/function parameters"
SECTION = "libs"
LICENSE = "Artistic|GPL"
-PR = "r9"
+PR = "r10"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-${PV}.tar.gz"
@@ -10,7 +10,5 @@ S = "${WORKDIR}/Params-Validate-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/Params/Validate/* \
- ${PERLLIBDIRS}/auto/Params/Validate/.packlist \
${PERLLIBDIRS}/Params \
${PERLLIBDIRS}/Attribute"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/Params/Validate/.debug"
diff --git a/packages/perl/libversion-perl_0.6701.bb b/packages/perl/libversion-perl_0.6701.bb
index 453e3c357f..a4de6715e8 100644
--- a/packages/perl/libversion-perl_0.6701.bb
+++ b/packages/perl/libversion-perl_0.6701.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "version - Perl extension for Version Objects"
SECTION = "libs"
LICENSE = "Artistic|GPL"
-PR = "r4"
+PR = "r5"
SRC_URI = "http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/version-${PV}.tar.gz"
@@ -10,7 +10,5 @@ S = "${WORKDIR}/version-${PV}"
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/version/vxs/* \
- ${PERLLIBDIRS}/auto/version/.packlist \
${PERLLIBDIRS}/version/* \
${PERLLIBDIRS}/version.pm"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/version/vxs/.debug"
diff --git a/packages/perl/libxml-parser-perl_2.34.bb b/packages/perl/libxml-parser-perl_2.34.bb
index 28bf16deee..f088c26784 100644
--- a/packages/perl/libxml-parser-perl_2.34.bb
+++ b/packages/perl/libxml-parser-perl_2.34.bb
@@ -1,7 +1,7 @@
SECTION = "libs"
LICENSE = "Artistic"
DEPENDS += "expat-native"
-PR = "r5"
+PR = "r6"
SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
@@ -12,6 +12,4 @@ EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}
inherit cpan
FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \
- ${PERLLIBDIRS}/auto/XML/Parser/.packlist \
${PERLLIBDIRS}/XML"
-FILES_${PN}-dbg += "${PERLLIBDIRS}/auto/XML/Parser/Expat/.debug"