浏览代码

package/perl-libwww-perl: Move package/perl-libwww to new package

This move is necessary to sync the package with scancpan output
as suggested by Francois.
http://lists.busybox.net/pipermail/buildroot/2015-April/126406.html

Since perl-libwww was never part of any official buildroot release
I did not bother the include legavy handling of its options ;)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 年之前
父节点
当前提交
2ab02505d5

+ 1 - 1
package/Config.in

@@ -523,7 +523,7 @@ menu "Perl libraries/modules"
 	source "package/perl-io-html/Config.in"
 	source "package/perl-io-socket-ssl/Config.in"
 	source "package/perl-json-tiny/Config.in"
-	source "package/perl-libwww/Config.in"
+	source "package/perl-libwww-perl/Config.in"
 	source "package/perl-lwp-mediatypes/Config.in"
 	source "package/perl-mail-dkim/Config.in"
 	source "package/perl-mailtools/Config.in"

+ 5 - 3
package/perl-libwww/Config.in → package/perl-libwww-perl/Config.in

@@ -1,10 +1,12 @@
-config BR2_PACKAGE_PERL_LIBWWW
-	bool "perl-libwww"
+config BR2_PACKAGE_PERL_LIBWWW_PERL
+	bool "perl-libwww-perl"
 	select BR2_PACKAGE_PERL_ENCODE_LOCALE
 	select BR2_PACKAGE_PERL_FILE_LISTING
 	select BR2_PACKAGE_PERL_HTML_PARSER
 	select BR2_PACKAGE_PERL_HTTP_COOKIES
 	select BR2_PACKAGE_PERL_HTTP_DAEMON
+	select BR2_PACKAGE_PERL_HTTP_DATE
+	select BR2_PACKAGE_PERL_HTTP_MESSAGE
 	select BR2_PACKAGE_PERL_HTTP_NEGOTIATE
 	select BR2_PACKAGE_PERL_LWP_MEDIATYPES
 	select BR2_PACKAGE_PERL_NET_HTTP
@@ -13,4 +15,4 @@ config BR2_PACKAGE_PERL_LIBWWW
 	help
 	  The World-Wide Web library for Perl
 
-	  https://github.com/libwww-perl/libwww-perl
+	  https://metacpan.org/release/libwww-perl

+ 3 - 0
package/perl-libwww-perl/perl-libwww-perl.hash

@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    85b36bcd2fd2450718ee14f894f0d3d1 libwww-perl-6.13.tar.gz
+sha256 5fbd13eebd1933e5a203fceb2c1629efbccff3efc8fab6ec0285c79d0a95f8b2 libwww-perl-6.13.tar.gz

+ 9 - 5
package/perl-libwww/perl-libwww.mk → package/perl-libwww-perl/perl-libwww-perl.mk

@@ -1,21 +1,25 @@
 ################################################################################
 #
-# perl-libwww
+# perl-libwww-perl
 #
 ################################################################################
 
-PERL_LIBWWW_VERSION = 6.13
-PERL_LIBWWW_SITE = $(call github,libwww-perl,libwww-perl,$(PERL_LIBWWW_VERSION))
-PERL_LIBWWW_LICENSE = Artistic or GPLv1+
+PERL_LIBWWW_PERL_VERSION = 6.13
+PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz
+PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER
+PERL_LIBWWW_PERL_LICENSE = Artistic or GPLv1+
 PERL_LIBWWW_LICENSE_FILES = README
-PERL_LIBWWW_DEPENDENCIES = \
+PERL_LIBWWW_PERL_DEPENDENCIES = \
+	perl \
 	perl-encode-locale \
 	perl-file-listing \
 	perl-html-parser \
 	perl-http-cookies \
 	perl-http-daemon \
 	perl-http-date \
+	perl-http-message \
 	perl-http-negotiate \
+	perl-lwp-mediatypes \
 	perl-net-http \
 	perl-uri \
 	perl-www-robotrules