blob: cea7985fc6a9d8413f73f4be29818bc266cf1770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-io-async
_pkgreal=IO-Async
pkgver=0.60
pkgrel=0
pkgdesc="Asynchronous event-driven programming"
url="http://search.cpan.org/dist/IO-Async/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-future"
cpanmakedepends="perl-test-identity perl-test-fatal perl-test-refcount "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
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="12a0af13d9a53517eb9698869b365816 IO-Async-0.60.tar.gz"
sha256sums="36905acd9e4b4b1bcf6a5f8cc551fbf1fa0b760d29152bcb84fee69fc98fa14c IO-Async-0.60.tar.gz"
sha512sums="2bc8dd4d8f1150ff33bfc48def23e273e194ed8ee19525bd8a6a62b50a6f0d02c00cb2449a7c2f5fd9c7c31ecc26ba5fbded38bf9b8f83bf0453d9286145d67a IO-Async-0.60.tar.gz"
|