diff options
author | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-06-02 15:10:54 -0400 |
---|---|---|
committer | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-06-02 15:10:54 -0400 |
commit | 31b8d7be8843c4a7a555b25ed92ec78bd9f765fa (patch) | |
tree | 3aa844a80b84a6df52c1fdcf52d21b99ce3cb31c /testing | |
parent | 83ddf832be3916a1b5b96c49614bab896b9ccb98 (diff) | |
download | aports-31b8d7be8843c4a7a555b25ed92ec78bd9f765fa.tar.bz2 aports-31b8d7be8843c4a7a555b25ed92ec78bd9f765fa.tar.xz |
testing/perl-devel-stacktrace: repackaged via apkbuild-cpan
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-devel-stacktrace/APKBUILD | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/testing/perl-devel-stacktrace/APKBUILD b/testing/perl-devel-stacktrace/APKBUILD index 63391bbd63..995f45df5c 100644 --- a/testing/perl-devel-stacktrace/APKBUILD +++ b/testing/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" +pkgdesc="An 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() { |