aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-probe-perl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-probe-perl/APKBUILD')
-rw-r--r--main/perl-probe-perl/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/perl-probe-perl/APKBUILD b/main/perl-probe-perl/APKBUILD
new file mode 100644
index 0000000000..0528aa921d
--- /dev/null
+++ b/main/perl-probe-perl/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-probe-perl
+_pkgreal=Probe-Perl
+pkgver=0.01
+pkgrel=0
+pkgdesc="Information about the currently running perl"
+url="http://search.cpan.org/dist/Probe-Perl/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/$_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="b6f613a7d07dde568a0d4b9570de47c3 Probe-Perl-0.01.tar.gz"