Skip to content
Snippets Groups Projects
Commit a54bb111 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/perl-function-parameters: new aport. In community because of...

community/perl-function-parameters: new aport. In community because of per-test-postgresql dependency
parent cfb425ec
No related branches found
No related tags found
No related merge requests found
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-function-parameters
_pkgreal=Function-Parameters
pkgver=1.0705
pkgrel=0
pkgdesc="subroutine definitions with parameter lists"
url="http://search.cpan.org/dist/Function-Parameters/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" perl-dir-self perl-test-fatal "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MAUKE/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="fbaa61e7acb8e85e63a84b8b40ca2b5b Function-Parameters-1.0705.tar.gz"
sha256sums="5dd904dc6511df6901260392ea98d39ebd178e1df195456357e91217229e8e03 Function-Parameters-1.0705.tar.gz"
sha512sums="b58905730b2fa81bf607249d86c68a47d71b810aaca91a497974211bfe094b84c8cc6841eeee0a44e925cb8d632c8f7850365ac0bd194f37c1add081f19fa772 Function-Parameters-1.0705.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment