aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-anyevent
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2019-04-27 23:14:19 +0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-27 20:40:35 +0000
commit7c315d5d194ca313d9b79946498265581a4306d0 (patch)
treeda99dd92c22956286c70a41931a51ab853ebadce /community/perl-anyevent
parent52cde68b8b9538d03eee43fc378b055d78fe83cd (diff)
downloadaports-7c315d5d194ca313d9b79946498265581a4306d0.tar.bz2
aports-7c315d5d194ca313d9b79946498265581a4306d0.tar.xz
community/perl-anyevent: move from testing
Closes GH-6354
Diffstat (limited to 'community/perl-anyevent')
-rw-r--r--community/perl-anyevent/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/perl-anyevent/APKBUILD b/community/perl-anyevent/APKBUILD
new file mode 100644
index 0000000000..fef10c4edb
--- /dev/null
+++ b/community/perl-anyevent/APKBUILD
@@ -0,0 +1,43 @@
+# 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.14
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/AnyEvent/"
+arch="noarch"
+license="GPL PerlArtistic"
+makedepends="perl-dev openssl-dev"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+prepare() {
+ default_prepare
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+check() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+sha512sums="98e7b9e06cf74b99d3407a25b60f3b825fceed3bae43505e1fb90785e24bd88ae25955cff25d29b4cc96957db7f4f5203d19ad2365abb4e3a3227fd91a16fb25 AnyEvent-7.14.tar.gz"