libwww-perl: update to version 5.834
authorRoman I Khimov <khimov@altell.ru>
Thu, 18 Mar 2010 15:07:38 +0000 (18:07 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:48:13 +0000 (00:48 +0300)
Add more dependencies along the way, fix PACKAGE_ARCH.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/perl/libwww-perl_5.808.bb [deleted file]
recipes/perl/libwww-perl_5.834.bb [new file with mode: 0644]

diff --git a/recipes/perl/libwww-perl_5.808.bb b/recipes/perl/libwww-perl_5.808.bb
deleted file mode 100644 (file)
index 886b5b7..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-DESCRIPTION = "libwww-perl provides a simple and consistent API to the World Wide Web"
-SECTION = "libs"
-LICENSE = "Artistic"
-DEPENDS = "liburi-perl-native"
-RDEPENDS = "liburi-perl"
-PR = "r3"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz"
-
-S = "${WORKDIR}/libwww-perl-${PV}"
-
-inherit cpan
-
-do_configure_append() {
-    sed -i -e "s|PERL_ARCHLIB = /usr/lib/perl/5.8|PERL_ARCHLIB = ${STAGING_LIBDIR_NATIVE}/perl/5.8.8|" Makefile
-}
-
-BBCLASSEXTEND="native"
diff --git a/recipes/perl/libwww-perl_5.834.bb b/recipes/perl/libwww-perl_5.834.bb
new file mode 100644 (file)
index 0000000..784a0c9
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "libwww-perl provides a simple and consistent API to the World Wide Web"
+SECTION = "libs"
+LICENSE = "Artistic|GPL"
+DEPENDS = "liburi-perl-native libhtml-parser-perl-native libhtml-tagset-perl-native"
+RDEPENDS_${PN} += " \
+       libhtml-parser-perl \
+       libhtml-tagset-perl \
+       liburi-perl \
+       perl-module-digest-md5 \
+       perl-module-net-ftp \
+       "
+BBCLASSEXTEND = "native"
+
+PR = "r0"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
+SRC_URI[libwww-perl-5.834.md5sum] = "f2ed8a461f76556c9caed9087f47c86c"
+SRC_URI[libwww-perl-5.834.sha256sum] = "1a50eb91d1deeca3be10982e129e786809ad6f0f8049b156e91e889e5a7288ff"
+
+S = "${WORKDIR}/libwww-perl-${PV}"
+
+inherit cpan
+
+PACKAGE_ARCH = "all"