blob: da8e5ef8f2cb1e42cd123ffa5892109bf29f2ab0 (
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
|
# 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=8.22
pkgrel=0
pkgdesc="Real-time web framework"
url="http://search.cpan.org/dist/Mojolicious/"
arch="noarch"
license="Artistic-2.0"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SR/SRI/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
make test
}
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
}
sha512sums="f947644a4d1d410e97e4767ddd81033c725fd6d3b1e5473d59b255c934b4e4fdf126bc581c703ec8a6307b30740e7412f72d2c719dc21308a1034dd9b754b465 Mojolicious-8.22.tar.gz"
|