diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-23 15:39:10 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2013-12-24 09:11:11 +0000 |
commit | 056db8010d7ac0d21757fb73ff1f3e809d3390c3 (patch) | |
tree | 5c8183aa3ea1563c16a60c662216a6c27f1e757e /main | |
parent | 13d12845fc2ba8cc17796a4bf81524dd86c07738 (diff) | |
download | aports-056db8010d7ac0d21757fb73ff1f3e809d3390c3.tar.bz2 aports-056db8010d7ac0d21757fb73ff1f3e809d3390c3.tar.xz |
main/perl-boolean: new aport
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-boolean/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-boolean/APKBUILD b/main/perl-boolean/APKBUILD new file mode 100644 index 0000000000..be3ae622e9 --- /dev/null +++ b/main/perl-boolean/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-boolean +_pkgreal=boolean +pkgver=0.30 +pkgrel=0 +pkgdesc="Boolean support for Perl" +url="http://search.cpan.org/dist/boolean/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_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="f4f23302481e82402048a91a8fa2e078 boolean-0.30.tar.gz" +sha256sums="f46e7a6121d5728ef2ce285a82d1dde94f6dfa0b846a612db75b1dcd37b9fc7f boolean-0.30.tar.gz" +sha512sums="6ed9b40ddddeb6be401a7b79962569c4f443d8e9bac0282ad62e1cfebc897970cc8c35ea6c41187a158449211695bb88ac52d0edc46ae834f368336ac7fa5d3d boolean-0.30.tar.gz" |