2016-01-11 17:34:42 +00:00

42 lines
1.4 KiB
Plaintext

# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-devel-checkos
_pkgreal=Devel-CheckOS
pkgver=1.76
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Devel-CheckOS/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-data-compare perl-file-find-rule"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
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="700ce608fed7a0c0867371e6a6619098 Devel-CheckOS-1.76.tar.gz"
sha256sums="f83fb4cb8de060f607214b1e88c98ac6c4e065371e646fe896f16ea887aecb0c Devel-CheckOS-1.76.tar.gz"
sha512sums="e915281fdd57e6d804a7c2cd1c4fe5114ca02f61f7cc0ef0e9a9c8d23cb54f793d433804a301cc02d9a83fee34b71d9876795b133114c9697703ab7b1681353e Devel-CheckOS-1.76.tar.gz"