From 8323ccc24b10ccb8df5df548b3993add18628587 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 24 Dec 2013 09:15:07 +0000 Subject: testing/perl-class-mix: move to main --- main/perl-class-mix/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 main/perl-class-mix/APKBUILD (limited to 'main/perl-class-mix') 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 +# Maintainer: Natanael Copa +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" -- cgit v1.2.3