aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-anyevent/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-anyevent/APKBUILD')
-rw-r--r--testing/perl-anyevent/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-anyevent/APKBUILD b/testing/perl-anyevent/APKBUILD
new file mode 100644
index 0000000000..754b0f8c50
--- /dev/null
+++ b/testing/perl-anyevent/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Nick Andrew <nick@nick-andrew.net>
+# Maintainer: Nick Andrew <nick@nick-andrew.net>
+pkgname=perl-anyevent
+_pkgreal=AnyEvent
+pkgver=7.12
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/AnyEvent/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="3c7054fc2c1d93b985d63c13d37d3369 AnyEvent-7.12.tar.gz"
+sha256sums="7893a7e5d65e6bc34479712235baccb739837c336fb9eb70193141532e95737d AnyEvent-7.12.tar.gz"
+sha512sums="a508024ee207dd227d81544d0796672587125698034317d6d1e50a22395358fbf62001b17d0e7f3bc7ea4be69b1004f563cdf7097ac67b10a4a43545a9d2273c AnyEvent-7.12.tar.gz"