blob: 5f616088f9eed00c71a9b0a2bcce9bb658012fc6 (
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
38
39
40
41
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-html-mason
_pkgreal=HTML-Mason
pkgver=1.56
pkgrel=0
pkgdesc="High-performance, dynamic web site authoring system"
url="http://search.cpan.org/dist/HTML-Mason/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-exception-class perl-cache-cache perl-html-parser perl-log-any perl-class-container perl-params-validate"
cpanmakedepends=" perl-test-deep "
depends="perl-cgi $cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_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="7727187a1ffbab6f83433b67edd98ac6 HTML-Mason-1.56.tar.gz"
sha256sums="84ac24fb1d551f998145435265e5b6fd4a52ec61e4fadd3d7755eb648be2c4b2 HTML-Mason-1.56.tar.gz"
sha512sums="3492a37b8289209a2215b42be71db242ca150f4364d8422e46ca4762f2cdbddf96a56f44a3462d1f1eb23ef3bbe1cb36b8322106f4050404b988c6d90a05911c HTML-Mason-1.56.tar.gz"
|