# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-net-async-http _pkgreal=Net-Async-HTTP pkgver=0.42 pkgrel=0 pkgdesc="Use HTTP with C" url="http://search.cpan.org/dist/Net-Async-HTTP/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb" cpanmakedepends="perl-test-identity perl-http-cookies perl-io-async " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-test-refcount perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor } build() { cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build } check() { cd "$builddir" ./Build test } package() { cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="8f8d8e106c243704d8e462505d0ba7b5a7179b7fcd455ea113e18cd207bc2a17c7013745626b87254826793ef105bf788457774e9d6f54cc405411da38d5e5ec Net-Async-HTTP-0.42.tar.gz"