Commit 04f55704 authored by Timothy Legge's avatar Timothy Legge

testing/perl-anyevent-http: new aport

parent 2bde06a9
Pipeline #65920 passed with stages
in 1 minute and 15 seconds
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Nick Andrew <nick@nick-andrew.net>
# Maintainer: Nick Andrew <nick@nick-andrew.net>
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-anyevent-http
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=AnyEvent-HTTP
pkgver=2.25
pkgrel=1
pkgdesc="simple but non-blocking HTTP/HTTPS client"
url="https://metacpan.org/release/AnyEvent-HTTP"
arch="" # perl-dancer-plugin-swig
pkgrel=0
pkgdesc="Perl module for AnyEvent-HTTP"
url="https://metacpan.org/release/AnyEvent-HTTP/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-anyevent perl-dancer-plugin-swig"
depends="perl perl-common-sense perl-anyevent"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-HTTP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
build() {
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
make test
}
package() {
......@@ -32,9 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
sha512sums="bc189a6a37cb3c3b6f1c36bd965911e110019fec5b8f82bea60dab2e3cf0dda0117a83a5f0608f7865f457b016f94f1ccc78939e22849bceb82a096edc24de9c AnyEvent-HTTP-2.25.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment