aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-class-mix
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:15:07 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:15:07 +0000
commit8323ccc24b10ccb8df5df548b3993add18628587 (patch)
treeff6103a6b94f2b04da18a10fb88e84a84dd6bb0c /main/perl-class-mix
parentda4b9285a152762a3c4b37b5db3366afb9cbcc1c (diff)
downloadaports-8323ccc24b10ccb8df5df548b3993add18628587.tar.bz2
aports-8323ccc24b10ccb8df5df548b3993add18628587.tar.xz
testing/perl-class-mix: move to main
Diffstat (limited to 'main/perl-class-mix')
-rw-r--r--main/perl-class-mix/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-class-mix/APKBUILD b/main/perl-class-mix/APKBUILD
new file mode 100644
index 0000000000..72af68f911
--- /dev/null
+++ b/main/perl-class-mix/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-class-mix
+_pkgreal=Class-Mix
+pkgver=0.005
+pkgrel=0
+pkgdesc="dynamic class mixing"
+url="http://search.cpan.org/dist/Class-Mix/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-params-classify"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="7d6c4e70dea13678d845898a4a1565c0 Class-Mix-0.005.tar.gz"
+sha256sums="054d0db62df90f22601f2a18fc84e9ca026d81601f5940b2fcc543e39d69b36b Class-Mix-0.005.tar.gz"
+sha512sums="9486a8ec4f6b1a5483610cdac110eed219bb849e8895a350309167206f8caef4209abbbc340a467f4c3b2ca3afc6e2b49b66601110517b66684689f4d88d20c9 Class-Mix-0.005.tar.gz"