aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Config.in2
-rw-r--r--package/perl-libwww-perl/Config.in (renamed from package/perl-libwww/Config.in)8
-rw-r--r--package/perl-libwww-perl/perl-libwww-perl.hash3
-rw-r--r--package/perl-libwww-perl/perl-libwww-perl.mk (renamed from package/perl-libwww/perl-libwww.mk)14
4 files changed, 18 insertions, 9 deletions
diff --git a/package/Config.in b/package/Config.in
index 3370d59139..6f73c825d0 100644
--- a/package/Config.in
+++ b/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"
diff --git a/package/perl-libwww/Config.in b/package/perl-libwww-perl/Config.in
index 523371fc3a..3db0070a40 100644
--- a/package/perl-libwww/Config.in
+++ b/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
diff --git a/package/perl-libwww-perl/perl-libwww-perl.hash b/package/perl-libwww-perl/perl-libwww-perl.hash
new file mode 100644
index 0000000000..1ef5ccfe7f
--- /dev/null
+++ b/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
diff --git a/package/perl-libwww/perl-libwww.mk b/package/perl-libwww-perl/perl-libwww-perl.mk
index 8157be2e26..64cbfd4845 100644
--- a/package/perl-libwww/perl-libwww.mk
+++ b/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