summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-06-02 11:02:44 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-06-02 11:48:25 +0300
commitb2bea863c94d1021cb8fcfec1014653f5f069da6 (patch)
treec4d7d6741b84eb57afd98460124b08e7812f8a2c
parent065f38f965b3d69a7ace9c009f5faac9b4219ee2 (diff)
downloadaports-b2bea863c94d1021cb8fcfec1014653f5f069da6.tar.bz2
aports-b2bea863c94d1021cb8fcfec1014653f5f069da6.tar.xz
testing/perl-mime-base64: new apkbuild-cpan generated aport
The RFC 2045 encodings; base64 and quoted-printable http://search.cpan.org/dist/MIME-Base64/
-rw-r--r--testing/perl-mime-base64/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-mime-base64/APKBUILD b/testing/perl-mime-base64/APKBUILD
new file mode 100644
index 000000000..7916543e1
--- /dev/null
+++ b/testing/perl-mime-base64/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-mime-base64
+_pkgreal=MIME-Base64
+pkgver=3.13
+pkgrel=0
+pkgdesc="The RFC 2045 encodings; base64 and quoted-printable"
+url="http://search.cpan.org/dist/MIME-Base64/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a555d807b328aee871c686a6b6bae5b4 MIME-Base64-3.13.tar.gz"