aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-fcgi/APKBUILD
blob: e31271107a94d7c5180e8d391a1bba48607a63f4 (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.77
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="8d88f0fe90f05973522813263b0be39b  FCGI-0.77.tar.gz"
sha256sums="352cdfe3309d77c2815aa18fe7fbd9b4be68e8b1b26d062039e78f8664aa25a8  FCGI-0.77.tar.gz"
sha512sums="8586b6bb675aebc04eaa8b56fb762c292fe9f991083c447cbe0ba9ac943cd3e6e56853ba732cac9a6e3bfe8eb0767719794351ad3bce9550bc2df516819f47f4  FCGI-0.77.tar.gz"