aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-devel-stacktrace/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-devel-stacktrace/APKBUILD')
-rw-r--r--main/perl-devel-stacktrace/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-devel-stacktrace/APKBUILD b/main/perl-devel-stacktrace/APKBUILD
new file mode 100644
index 0000000000..6e4ce6df11
--- /dev/null
+++ b/main/perl-devel-stacktrace/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-devel-stacktrace
+_pkgreal=Devel-StackTrace
+pkgver=1.27
+pkgrel=1
+pkgdesc="A Perl object representing a stack trace"
+url="http://search.cpan.org/dist/Devel-StackTrace/"
+arch="noarch"
+license="Artistic-2"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="72ba07f2dc0331d8ce3c028cc66cf20d Devel-StackTrace-1.27.tar.gz"