aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-email-mime
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:07:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:07:55 +0000
commit866998360a3219c795a37990f3e32b7181316f03 (patch)
treed0341853eca816abe82d75d99aa1403d564e964e /community/perl-email-mime
parentff0b002818a513c5a2c948c23a1ec12479619e8d (diff)
downloadaports-866998360a3219c795a37990f3e32b7181316f03.tar.bz2
aports-866998360a3219c795a37990f3e32b7181316f03.tar.xz
community/perl-email-mime: moved from testing, upgraded to 1.937
Diffstat (limited to 'community/perl-email-mime')
-rw-r--r--community/perl-email-mime/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-email-mime/APKBUILD b/community/perl-email-mime/APKBUILD
new file mode 100644
index 0000000000..5e7c53aa8e
--- /dev/null
+++ b/community/perl-email-mime/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-email-mime
+_pkgreal=Email-MIME
+pkgver=1.937
+pkgrel=0
+pkgdesc="easy MIME message handling"
+url="http://search.cpan.org/dist/Email-MIME/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-email-mime-contenttype perl-email-mime-encodings
+perl-email-simple perl-email-address perl-email-messageid perl-mime-types"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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="3eb77e100ad9eb72e5b500a803b2bde6 Email-MIME-1.937.tar.gz"
+sha256sums="366567886bfb8e8930199c61f079f680b0acb23d01d84c6e40b9a5d8ed88a068 Email-MIME-1.937.tar.gz"
+sha512sums="61f8e262070edcad90e8852f1c2b3439d732273e64590c0013a506fb4330bc4d8dbb8430dca2b6a4498864e436e4286728209c01cfe8f11cd5afabc57461cbcf Email-MIME-1.937.tar.gz"