summaryrefslogtreecommitdiff
path: root/system/perl-http-daemon/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 05:17:36 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 05:17:36 +0000
commit635198152f7454af8a78d773e0e5347d80a0b10c (patch)
treec96c4d8aa9a972e5c7f20e993c68abaf1258aefc /system/perl-http-daemon/APKBUILD
parent4809d8f84909f943a90580ba9955ae692141eb74 (diff)
downloadpackages-635198152f7454af8a78d773e0e5347d80a0b10c.tar.gz
packages-635198152f7454af8a78d773e0e5347d80a0b10c.tar.bz2
packages-635198152f7454af8a78d773e0e5347d80a0b10c.tar.xz
packages-635198152f7454af8a78d773e0e5347d80a0b10c.zip
system/perl-http-daemon: bump to 6.05, MB build sys, IPv6 support
Diffstat (limited to 'system/perl-http-daemon/APKBUILD')
-rw-r--r--system/perl-http-daemon/APKBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/system/perl-http-daemon/APKBUILD b/system/perl-http-daemon/APKBUILD
index 3684c5a7a..c4c86414d 100644
--- a/system/perl-http-daemon/APKBUILD
+++ b/system/perl-http-daemon/APKBUILD
@@ -1,10 +1,10 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-http-daemon
-pkgver=6.04
-_author=O
-_author2=${_author}A
-_author3=${_author2}LDERS
+pkgver=6.05
+_author=E
+_author2=${_author}T
+_author3=${_author2}HER
pkgrel=0
pkgdesc="HTTP::Daemon perl module"
url="https://metacpan.org/release/HTTP-Daemon"
@@ -12,27 +12,25 @@ arch="noarch"
license="GPL-2.0-only or Artistic-1.0-Perl"
depends="perl perl-http-date perl-http-message"
checkdepends="perl-test-needs"
-makedepends="perl-dev"
+makedepends="perl-dev perl-module-build"
replaces="perl-libwww"
subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/$_author/$_author2/$_author3/HTTP-Daemon-$pkgver.tar.gz"
builddir="$srcdir"/HTTP-Daemon-$pkgver
build() {
- cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
- make
+ # use Module::Build for non-/usr/local, not Module::Build::Tiny.
+ PERL_MB_FALLBACK_SILENCE_WARNING=1 perl Build.PL installdirs=vendor
+ ./Build
}
check() {
- cd "$builddir"
- make test
+ ./Build test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ ./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="4fe21e92367c481e611cf0051134856811bc5e7d99ba2f54e0e8fb8c9c442198769ecc50d108219087c9052a8f51eab19843bc1f83cfb09ca6f1b9272414775c HTTP-Daemon-6.04.tar.gz"
+sha512sums="26a5dd4f215b7d3c488c414101e975db0b8f38f11c983312d3c1d89f22e9c80895d6ae3f60fd4b00b6cbea5814992ad705237848cf2c9eab40eb82cd0109b32d HTTP-Daemon-6.05.tar.gz"