aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-27 17:11:43 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-27 17:11:43 +0000
commit75466cfc856136dd17496b33baffdbc6f35a504c (patch)
treea200dab16aa1b3382b348a12bb89579206cb85c5
parent8efb818974e04495f55f98692d6c868a2062e687 (diff)
downloadaports-75466cfc856136dd17496b33baffdbc6f35a504c.tar.bz2
aports-75466cfc856136dd17496b33baffdbc6f35a504c.tar.xz
testing/perl-email-miem-encodings: new aport
-rw-r--r--testing/perl-email-mime-encodings/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-email-mime-encodings/APKBUILD b/testing/perl-email-mime-encodings/APKBUILD
new file mode 100644
index 0000000000..336c32eaa5
--- /dev/null
+++ b/testing/perl-email-mime-encodings/APKBUILD
@@ -0,0 +1,39 @@
+# 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.313
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Email-MIME-Encodings/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+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="f2580c816fb0c4b2a256540a385bf4fb Email-MIME-Encodings-1.313.tar.gz"