blob: d454f1fb6e66c7f31101ad4f37ef90b99b6a44aa (
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.35
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 "
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="15e63942c02354426b25f056f2a4467c CGI-4.35.tar.gz"
sha256sums="0b34cdc59f596632b0620939286f6e18e7e81d043b6b57b974a8e07d18b5fc1d CGI-4.35.tar.gz"
sha512sums="e4a25535b654439605ec9de3cd86dd84a4ce510d8ab459d693019b206e2123613a17cf281c21454baf39c7216c3d9fa2dbef7321709f341ba7f3c59bf765e23c CGI-4.35.tar.gz"
|