aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-mojolicious
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:52:08 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-25 14:52:08 +0000
commit43777ac8f0a24912748e72cd3276faef8bfd716c (patch)
tree55a21d0b5dd45d38570edd32b0bf66177ec95ab1 /community/perl-mojolicious
parentbef548d543e07feba4f7be48a003eb39bb5eec14 (diff)
downloadaports-43777ac8f0a24912748e72cd3276faef8bfd716c.tar.bz2
aports-43777ac8f0a24912748e72cd3276faef8bfd716c.tar.xz
community/perl-mojolicious: moved from testing, upgraded to 7.03
Diffstat (limited to 'community/perl-mojolicious')
-rw-r--r--community/perl-mojolicious/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-mojolicious/APKBUILD b/community/perl-mojolicious/APKBUILD
new file mode 100644
index 0000000000..27af8ce060
--- /dev/null
+++ b/community/perl-mojolicious/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-mojolicious
+_pkgreal=Mojolicious
+pkgver=7.03
+pkgrel=0
+pkgdesc="Real-time web framework"
+url="http://search.cpan.org/dist/Mojolicious/"
+arch="noarch"
+license="Artistic-2"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SR/SRI/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ 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="94655440d46e3fb969863c6e83c8d571 Mojolicious-7.03.tar.gz"
+sha256sums="f08741cf9329fa02fcaa631a5862d9e68490d1a5f95d968951dfba90457d66fd Mojolicious-7.03.tar.gz"
+sha512sums="26deec6113c47feac2012c8fd1527c01ae8ea4b9bf156446dff480a0fee1451a15d4a1c63b5bcbb56088dbdd769780914acd395e0b8c14b5cc23798ea74aa27b Mojolicious-7.03.tar.gz"