blob: a9ef4bb37b10f735fcc15ede83839c3f63c54c75 (
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
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Nick Andrew <nick@nick-andrew.net>
# Maintainer: Nick Andrew <nick@nick-andrew.net>
pkgname=perl-anyevent
_pkgname=AnyEvent
pkgver=7.16
pkgrel=0
pkgdesc="Framework for event-based programming"
url="https://metacpan.org/release/AnyEvent"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev openssl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
sha512sums="27c794d5e78a7c359b0e48ef698be4ef56787b54f457d9397795abade9d55460f8acc086f8becabb37f1195d014cd441e3e9783dcca2e1c550c64453960d4cd4 AnyEvent-7.16.tar.gz"
|