aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 07:29:38 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:11:12 +0000
commite36b1359e1b36bdb71810e93e5c2b5099a96b3db (patch)
tree788ba37eb425b43b92e0a7e6bfe28f252149e5ab
parent8bb3138c43910875d0e655289f9a9493e2d16f6f (diff)
downloadaports-e36b1359e1b36bdb71810e93e5c2b5099a96b3db.tar.bz2
aports-e36b1359e1b36bdb71810e93e5c2b5099a96b3db.tar.xz
main/perl-email-address-list: new aport
-rw-r--r--main/perl-email-address-list/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-email-address-list/APKBUILD b/main/perl-email-address-list/APKBUILD
new file mode 100644
index 0000000000..fe123e7bf3
--- /dev/null
+++ b/main/perl-email-address-list/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-email-address-list
+_pkgreal=Email-Address-List
+pkgver=0.01
+pkgrel=0
+pkgdesc="RFC close address list parsing"
+url="http://search.cpan.org/dist/Email-Address-List/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-email-address"
+cpanmakedepends="perl-json "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="0987dc5ba9184217fc1c8f1d28d6c906 Email-Address-List-0.01.tar.gz"
+sha256sums="8ff17fc06ff6d67d378e30f16e2e1930f2a1d5db2f7f59973b4166d38cac4a3e Email-Address-List-0.01.tar.gz"
+sha512sums="0004c808fc299764b0f717391d8b21cdbdf2d9979fb08c428ef2d2428ab206e134e700b74dd8367d34690406b3693ccaed4e8865df81c2ecb7de914d2ac6e2ea Email-Address-List-0.01.tar.gz"