aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-devel-stacktrace/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-02 19:29:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-02 19:29:23 +0000
commit1c0102264ca925ad1428d1e51415391cdfadc076 (patch)
tree466fdd30f1d30356a179b7150e397b0006363288 /main/perl-devel-stacktrace/APKBUILD
parent3b868d23210e2d6242788ae9d61fa9f9cdf67805 (diff)
parent2ade2c4aec316c33690cba005bc331938fa34b75 (diff)
downloadaports-1c0102264ca925ad1428d1e51415391cdfadc076.tar.bz2
aports-1c0102264ca925ad1428d1e51415391cdfadc076.tar.xz
Merge git://inari.aerdan.org/var/git/aports
Diffstat (limited to 'main/perl-devel-stacktrace/APKBUILD')
-rw-r--r--main/perl-devel-stacktrace/APKBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/main/perl-devel-stacktrace/APKBUILD b/main/perl-devel-stacktrace/APKBUILD
index 63391bbd63..6e4ce6df11 100644
--- a/main/perl-devel-stacktrace/APKBUILD
+++ b/main/perl-devel-stacktrace/APKBUILD
@@ -1,33 +1,31 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# 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=0
-pkgdesc="Devel::StackTrace perl module"
+pkgrel=1
+pkgdesc="A Perl object representing a stack trace"
url="http://search.cpan.org/dist/Devel-StackTrace/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl"
-makedepends="perl-dev"
-install=""
+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/Devel-StackTrace-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Devel-StackTrace-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ make && make test
}
package() {