aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dancer
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:18:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-09-19 14:19:53 +0000
commitf83beac097ec3e8af19de7cb83df1ddb87d90069 (patch)
tree39a58c3db39941a96dbc6457d30e6a86a86eeb23 /testing/perl-dancer
parent51c7e09a7368f87c26bfb5e5b552547deee9513f (diff)
downloadaports-f83beac097ec3e8af19de7cb83df1ddb87d90069.tar.bz2
aports-f83beac097ec3e8af19de7cb83df1ddb87d90069.tar.xz
testing/perl-dancer: new aport
Diffstat (limited to 'testing/perl-dancer')
-rw-r--r--testing/perl-dancer/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/perl-dancer/APKBUILD b/testing/perl-dancer/APKBUILD
new file mode 100644
index 0000000000..d8aaa63e5a
--- /dev/null
+++ b/testing/perl-dancer/APKBUILD
@@ -0,0 +1,43 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-dancer
+_pkgreal=Dancer
+pkgver=1.3142
+pkgrel=0
+pkgdesc="Perl module for Dancer"
+url="http://search.cpan.org/dist/Dancer/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpanmakedepends=""
+cpandepends="perl-module-runtime perl-try-tiny perl-hash-merge-simple
+ perl-mime-types perl-http-server-simple-psgi perl-http-body
+ perl-devel-hide perl-plack"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/$_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="3072888c96c377a25ac56334e011b953 Dancer-1.3142.tar.gz"
+sha256sums="655fb4b9c2cf27d1c25fd68b90c396fc27381c7075b85bf7f8a71fef626de94f Dancer-1.3142.tar.gz"
+sha512sums="f3093ac7df7aa8ba6739d5d40d7ba2a1274a3114368b9a0ae9cb61bfc9ac6c07918eb225faafc2c452eaafec8599e61faf9ac2a175214758d702602fdb4aa325 Dancer-1.3142.tar.gz"