aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 15:17:00 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-07-12 15:18:17 +0000
commit25d14e45d2a7e08addd496dafabd1bd93d4a45e6 (patch)
tree532145bbbfaef9a97aa5cb8e1565bdffc5d19de6 /testing
parent07666f286a083d2f35b2d03e9fa810791e64c66a (diff)
downloadaports-25d14e45d2a7e08addd496dafabd1bd93d4a45e6.tar.bz2
aports-25d14e45d2a7e08addd496dafabd1bd93d4a45e6.tar.xz
testing/perl-mime-charset: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-mime-charset/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-mime-charset/APKBUILD b/testing/perl-mime-charset/APKBUILD
new file mode 100644
index 0000000000..0729dc61d5
--- /dev/null
+++ b/testing/perl-mime-charset/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-mime-charset
+_pkgreal=MIME-Charset
+pkgver=1.012
+pkgrel=0
+pkgdesc="Charset Information for MIME"
+url="http://search.cpan.org/dist/MIME-Charset/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/N/NE/NEZUMI/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ 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="1762b0d9e9379be684b704c247317276 MIME-Charset-1.012.tar.gz"
+sha256sums="cee5d1d4184ad46ca17d995335bc8d9b6d95e1e64584079d032cf5f0c82dcccd MIME-Charset-1.012.tar.gz"
+sha512sums="f116deb04912bdccfd98484ef82d643d23b4cb90bfdf88ddc60d0a3f857ac3f084a60681a6fae4f9a2d982d6f470c79f171688e44a4034e9533bb518a914e2fe MIME-Charset-1.012.tar.gz"