diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-01 13:22:53 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-01 13:31:55 +0000 |
commit | 08c89c1c452544a513b5510dc911d97b1cfd5dd4 (patch) | |
tree | be9c9dc944ac0e7b51f7876898bdf08ccd4896fd /main/perl-mime-base64 | |
parent | 75495dfe0d78143d4f32f4e27e341d08d6ac2258 (diff) | |
download | aports-08c89c1c452544a513b5510dc911d97b1cfd5dd4.tar.bz2 aports-08c89c1c452544a513b5510dc911d97b1cfd5dd4.tar.xz |
main/perl-mime-base64: new aport
Diffstat (limited to 'main/perl-mime-base64')
-rw-r--r-- | main/perl-mime-base64/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-mime-base64/APKBUILD b/main/perl-mime-base64/APKBUILD new file mode 100644 index 0000000000..6222db5928 --- /dev/null +++ b/main/perl-mime-base64/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-mime-base64 +_pkgreal=MIME-Base64 +pkgver=3.15 +pkgrel=0 +pkgdesc="The RFC 2045 encodings; base64 and quoted-printable" +url="http://search.cpan.org/dist/MIME-Base64/" +arch="all" +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" + 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="ef958dc2bf96be5f759391c6ac1debd4 MIME-Base64-3.15.tar.gz" +sha256sums="7f863566a6a9cb93eda93beadb77d9aa04b9304d769cea3bb921b9a91b3a1eb9 MIME-Base64-3.15.tar.gz" +sha512sums="2f1ce99f755d7ae25f6b1907e043c16f72799e0cc9aa8b5efe8bb1f0542fc6f39bff691b2477e18136d06dfb38f6a844c76018a7fa4e60591ebf0e60cfea55d4 MIME-Base64-3.15.tar.gz" |