# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-io-async _pkgreal=IO-Async pkgver=0.69 pkgrel=0 pkgdesc="Asynchronous event-driven programming" url="http://search.cpan.org/dist/IO-Async/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-struct-dumb perl-future" cpanmakedepends="perl-test-refcount perl-test-fatal perl-test-identity " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends 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" perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build && ./Build test } package() { cd "$_builddir" ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="7585a39460c38e550f2037cc925a0374 IO-Async-0.69.tar.gz" sha256sums="05f1d64db02707eb933529870fe6ed95266d4226bc2297921debe21140c4880c IO-Async-0.69.tar.gz" sha512sums="1c3ddb84511402d77ad62c22d10e79d4d805e6c8b27b7390c561dc293b076044eaeb3926fd2ec1d4408c0c60419821b917c6f0bceda9afea0bfba05a9f5fa588 IO-Async-0.69.tar.gz"