aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-object-insideout/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-06-02 15:06:39 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2011-06-02 15:06:39 -0400
commit6b1610ca664a3addc415d505b3a25380781e644c (patch)
tree028a832057b11eb4b67a961c921cf6e5d71f5702 /testing/perl-object-insideout/APKBUILD
parent15e8c972fea27793fdc95f5df179fbb29e505f81 (diff)
downloadaports-6b1610ca664a3addc415d505b3a25380781e644c.tar.bz2
aports-6b1610ca664a3addc415d505b3a25380781e644c.tar.xz
testing/perl-object-insideout: new aport
Diffstat (limited to 'testing/perl-object-insideout/APKBUILD')
-rw-r--r--testing/perl-object-insideout/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-object-insideout/APKBUILD b/testing/perl-object-insideout/APKBUILD
new file mode 100644
index 0000000000..a4e187dbb8
--- /dev/null
+++ b/testing/perl-object-insideout/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-object-insideout
+_pkgreal=Object-InsideOut
+pkgver=3.81
+pkgrel=0
+pkgdesc="Comprehensive inside-out object support module"
+url="http://search.cpan.org/dist/Object-InsideOut/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-exception-class"
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="560170295e21857232d547ccd3b0adf0 Object-InsideOut-3.81.tar.gz"