aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-probe-perl
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:29:01 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:29:01 +0000
commitf2e69f57098ad48daad525cc23956c00f9072be2 (patch)
tree4e79ff27f3d18a4af9d42d27c729331df259b907 /main/perl-probe-perl
parente6153a1455c54fb242943deb3f55cf1856921d41 (diff)
downloadaports-f2e69f57098ad48daad525cc23956c00f9072be2.tar.bz2
aports-f2e69f57098ad48daad525cc23956c00f9072be2.tar.xz
testing/perl-probe-perl: move to main
Diffstat (limited to 'main/perl-probe-perl')
-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"