summaryrefslogtreecommitdiffstats
path: root/main/perl-carp-clan
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2010-11-26 11:59:06 +0100
committerMika Havela <mika.havela@gmail.com>2010-11-26 11:59:06 +0100
commit75eefdb86db840f9e98e6d17c6dc4807f45a919b (patch)
tree05c2844126d3e80904eb76a851644a3e4ea15304 /main/perl-carp-clan
parent045cfcfd4067564bbabca2b65eacaa261696d915 (diff)
downloadaports-75eefdb86db840f9e98e6d17c6dc4807f45a919b.tar.bz2
aports-75eefdb86db840f9e98e6d17c6dc4807f45a919b.tar.xz
testing/perl-carp-clan: Moved to main
Used together with swatch. Confirmed that it works.
Diffstat (limited to 'main/perl-carp-clan')
-rw-r--r--main/perl-carp-clan/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/perl-carp-clan/APKBUILD b/main/perl-carp-clan/APKBUILD
new file mode 100644
index 000000000..e26e5d931
--- /dev/null
+++ b/main/perl-carp-clan/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Mika Havela <mika.havela@gmail.com>
+# Maintainer: Mika Havela <mika.havela@gmail.com>
+pkgname=perl-carp-clan
+_realname=Carp-Clan
+pkgver=6.04
+pkgrel=0
+pkgdesc="Perl - Report errors from perspective of caller of a 'clan' of modules"
+url="http://search.cpan.org/~stbey/$_realname-$pkgver/"
+license="Artistic GPL"
+depends="perl perl-test-exception"
+makedepends="perl-dev"
+install=
+#subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_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="b6316bc51bb530d994f2784615939fb2 Carp-Clan-6.04.tar.gz"