summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 04:48:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 04:48:07 -0500
commit0b6a878d3f5b67d932175ce888e10fb94023d377 (patch)
tree7ae630c3b23021b5db4683ae3b226ceb6d35ed13 /system
parenteefca2557f5ab517f3c064299a0710d482e6c6cf (diff)
downloadpackages-0b6a878d3f5b67d932175ce888e10fb94023d377.tar.gz
packages-0b6a878d3f5b67d932175ce888e10fb94023d377.tar.bz2
packages-0b6a878d3f5b67d932175ce888e10fb94023d377.tar.xz
packages-0b6a878d3f5b67d932175ce888e10fb94023d377.zip
system/perl-http-cookies: add for lwp
Diffstat (limited to 'system')
-rw-r--r--system/perl-http-cookies/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/system/perl-http-cookies/APKBUILD b/system/perl-http-cookies/APKBUILD
new file mode 100644
index 000000000..dd2031356
--- /dev/null
+++ b/system/perl-http-cookies/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-http-cookies
+_pkgreal=HTTP-Cookies
+pkgver=6.04
+pkgrel=1
+pkgdesc="Perl HTTP cookie jars"
+url="http://search.cpan.org/dist/HTTP-Cookies/"
+arch="noarch"
+license="GPL-2.0-only or Artistic-1.0-Perl"
+depends="perl perl-http-date perl-http-message"
+makedepends="perl-dev"
+replaces="perl-libwww"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="e8b24b96e6630f1238e828edfbf7074fb9186a391fd1d129fb65a82748a4cf7d71669fa658c31957560a6faac3e638c8dc7aa3182acaa6fd14f0d56f3968f5e4 HTTP-Cookies-6.04.tar.gz"