blob: ba0972b993d674326a0add0b917b094aba6d52ce (
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
|
# 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-cgi
_pkgreal=CGI
pkgver=4.21
pkgrel=0
pkgdesc="Handle Common Gateway Interface requests and responses"
url="http://search.cpan.org/dist/CGI/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-html-parser"
cpanmakedepends=" perl-test-warn perl-test-deep perl-test-nowarnings "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
md5sums="78b427bfee2dd21b2e612b5bfe5f038c CGI-4.21.tar.gz"
sha256sums="340d20a2b67211752d7c270c589e463d71aea8b8d75d9417250618219d3cf884 CGI-4.21.tar.gz"
sha512sums="cc208b452f59b6fed51442c75ac1634115cbb25a6dfafcdb3e3dbad49a259a450de8abe8abcc66763976f54ae207fbaada5cede550056b5351e0b21a4af707a2 CGI-4.21.tar.gz"
|