Commit 3ffe9435 authored by Leo's avatar Leo

main/perl-fcgi: upgrade to 0.79

parent b9ccfee2
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-fcgi
_realname=FCGI
pkgver=0.78
pkgrel=4
pkgver=0.79
pkgrel=0
pkgdesc="Perl Fast CGI module"
url="http://search.cpan.org/~flora/FCGI"
url="https://metacpan.org/pod/FCGI"
arch="all"
license="OML"
depends=
depends_dev=
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
builddir="$srcdir/$_realname-$pkgver"
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
# creates collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
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"
sha512sums="18bb654b1d779881211e90c37144479fc2767dac71cdeb45099c67e1f2650f1aeae90d8646415b62a9b1dcc7595653b14c9f89b711416ebc6a31342bacd72c90 FCGI-0.79.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment