blob: 58558746c16043ff34aeb1da9be31de672b4f050 (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-fcgi
_realname=FCGI
pkgver=0.78
pkgrel=1
pkgdesc="Perl Fast CGI module"
url="http://search.cpan.org/~flora/FCGI"
arch="all"
license="unknown"
depends=
depends_dev=
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
# creates collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="916cd2887b27265cd8dcfd3280135270 FCGI-0.78.tar.gz"
sha256sums="aa974697972f409bfbd0f80e2673980f6559635b37c799e823dc3ff23edcaab3 FCGI-0.78.tar.gz"
sha512sums="d0932a70098ff414d23e55fb606f524bb36922d8733732c38d99fa872129f781af16696e72d6319bd897e8e9acc9deb4a26bc0f6b0913817f4f5be440eb21936 FCGI-0.78.tar.gz"
|