aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-email-simple
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:01:42 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 13:07:55 +0000
commit780d33d265c566bd5332c45818127f938928282b (patch)
tree21858c72b881c2425f2e7238aa79bafd612f0a48 /community/perl-email-simple
parent04542c08ef36b12357bafc57a3823ccfc2aa12b7 (diff)
downloadaports-780d33d265c566bd5332c45818127f938928282b.tar.bz2
aports-780d33d265c566bd5332c45818127f938928282b.tar.xz
community/perl-email-simple: moved from testing
Diffstat (limited to 'community/perl-email-simple')
-rw-r--r--community/perl-email-simple/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-email-simple/APKBUILD b/community/perl-email-simple/APKBUILD
new file mode 100644
index 0000000000..1f73517ce0
--- /dev/null
+++ b/community/perl-email-simple/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-simple
+_pkgreal=Email-Simple
+pkgver=2.210
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Email-Simple/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-email-date-format"
+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="062fbe3dd8bc6ea7cdebfd7eea7728cc Email-Simple-2.210.tar.gz"
+sha256sums="c8633fa462538967c036e3077617de9e5e8f6acc68d25546ba1d5bb1e12bd319 Email-Simple-2.210.tar.gz"
+sha512sums="ca35f81f5445f39b23a4cb45b320f645262b7d061d883e915d75b06c96023b0e5910e0df28a0d648575ec9d15d63c3a4c901efcdc54f51d56641f2291c82156a Email-Simple-2.210.tar.gz"