summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2010-05-05 07:42:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-13 07:47:06 +0000
commitb7ea1d32a513c7f88403483d2f3480bf218ed331 (patch)
tree4d458108085cf70acad9971f536106a3f2017822
parent45fa2f39e2705ff936d540fbe769d30c07414f71 (diff)
downloadaports-b7ea1d32a513c7f88403483d2f3480bf218ed331.tar.bz2
aports-b7ea1d32a513c7f88403483d2f3480bf218ed331.tar.xz
testing/perl-sub-uplevel: new aport
-rw-r--r--testing/perl-sub-uplevel/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-sub-uplevel/APKBUILD b/testing/perl-sub-uplevel/APKBUILD
new file mode 100644
index 000000000..10e4a49ac
--- /dev/null
+++ b/testing/perl-sub-uplevel/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=perl-sub-uplevel
+_realname=Sub-Uplevel
+pkgver=0.22
+pkgrel=0
+pkgdesc="Perl - Apparently run a function in a higher stack frame"
+url="http://search.cpan.org/~dagolden/$_realname-$pkgver/"
+license="Artistic GPL"
+depends="perl "
+makedepends="perl-dev"
+#subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_realname-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make test || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="c166738a97c0424a0075ebe205d285db Sub-Uplevel-0.22.tar.gz"