aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-email-mime-encodings/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:05:19 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:07:55 +0000
commitff0b002818a513c5a2c948c23a1ec12479619e8d (patch)
treeb556665d42a5dde659ebb0cb09ebf232c886c078 /community/perl-email-mime-encodings/APKBUILD
parent780d33d265c566bd5332c45818127f938928282b (diff)
downloadaports-ff0b002818a513c5a2c948c23a1ec12479619e8d.tar.bz2
aports-ff0b002818a513c5a2c948c23a1ec12479619e8d.tar.xz
community/perl-email-mime-encodings: moved from unmaintained
Diffstat (limited to 'community/perl-email-mime-encodings/APKBUILD')
-rw-r--r--community/perl-email-mime-encodings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-email-mime-encodings/APKBUILD b/community/perl-email-mime-encodings/APKBUILD
new file mode 100644
index 0000000000..5b0e7787dd
--- /dev/null
+++ b/community/perl-email-mime-encodings/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-email-mime-encodings
+_pkgreal=Email-MIME-Encodings
+pkgver=1.315
+pkgrel=0
+pkgdesc="A unified interface to MIME encoding and decoding"
+url="http://search.cpan.org/dist/Email-MIME-Encodings/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" perl-capture-tiny "
+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="0fbe906d7918430750b1ba766cf95151 Email-MIME-Encodings-1.315.tar.gz"
+sha256sums="4c71045507b31ec853dd60152b40e33ba3741779c0f49bb143b50cf8d243ab5c Email-MIME-Encodings-1.315.tar.gz"
+sha512sums="4cd787e099617b70963c8ef6372e2a16038c61170fdd343aad88a024ecd15c789fd2c8cc19830c3518b6648e428301eed1ae20f496fa97afbdd8bb7f3ae432aa Email-MIME-Encodings-1.315.tar.gz"