aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-email-mime-encodings/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-email-mime-encodings/APKBUILD')
-rw-r--r--unmaintained/perl-email-mime-encodings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-email-mime-encodings/APKBUILD b/unmaintained/perl-email-mime-encodings/APKBUILD
new file mode 100644
index 0000000000..833f913d73
--- /dev/null
+++ b/unmaintained/perl-email-mime-encodings/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+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"