summaryrefslogtreecommitdiffstats
path: root/main/perl-params-classify
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-12 11:48:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-12 11:48:09 +0000
commit797b5f2aed625ef9b33f737e27c432f367805b3d (patch)
tree799357b546778f2ce304582be91fb0dc865203bd /main/perl-params-classify
parent96ba56f1f3d279e73273d3e8fc7330cbaa6c1955 (diff)
downloadaports-797b5f2aed625ef9b33f737e27c432f367805b3d.tar.bz2
aports-797b5f2aed625ef9b33f737e27c432f367805b3d.tar.xz
main/perl-params-classify: moved from testing
Diffstat (limited to 'main/perl-params-classify')
-rw-r--r--main/perl-params-classify/APKBUILD38
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 000000000..2cabc8cdf
--- /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"