diff options
Diffstat (limited to 'main/perl-params-classify/APKBUILD')
-rw-r--r-- | main/perl-params-classify/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/perl-params-classify/APKBUILD b/main/perl-params-classify/APKBUILD new file mode 100644 index 0000000000..2cabc8cdfe --- /dev/null +++ b/main/perl-params-classify/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-params-classify +_pkgreal=Params-Classify +pkgver=0.013 +pkgrel=0 +pkgdesc="argument type classification" +url="http://search.cpan.org/dist/Params-Classify/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="63d24fbec775472ada49d16bce4a9b1f Params-Classify-0.013.tar.gz" |