aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-encode-hanextra
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-10-29 16:33:03 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-29 15:38:01 +0000
commit4b2cc7bea3ef5eebf39e9941343f5eced53c6534 (patch)
treea2685f185d692cdcfb6d6845bec34fbe461b3227 /main/perl-encode-hanextra
parenta51d9be7c86f8456860278c45997db4b32fe17e2 (diff)
downloadaports-4b2cc7bea3ef5eebf39e9941343f5eced53c6534.tar.bz2
aports-4b2cc7bea3ef5eebf39e9941343f5eced53c6534.tar.xz
main/perl-encode-hanextra: new aport
Diffstat (limited to 'main/perl-encode-hanextra')
-rw-r--r--main/perl-encode-hanextra/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/perl-encode-hanextra/APKBUILD b/main/perl-encode-hanextra/APKBUILD
new file mode 100644
index 0000000000..94f29ebe50
--- /dev/null
+++ b/main/perl-encode-hanextra/APKBUILD
@@ -0,0 +1,44 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=perl-encode-hanextra
+_pkgreal=Encode-HanExtra
+pkgver=0.23
+pkgrel=0
+pkgdesc="Perl module for Encode-HanExtra"
+url="http://search.cpan.org/dist/Encode-HanExtra/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ if [ -e Build.PL ]; then
+ perl Build.PL installdirs=vendor || return 1
+ else
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ fi
+}
+
+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="e1d3bc32c1c8ee304235a06fbcd5d5a4 Encode-HanExtra-0.23.tar.gz"
+sha256sums="1fd4b06cada70858003af153f94c863b3b95f2e3d03ba18d0451a81d51db443a Encode-HanExtra-0.23.tar.gz"
+sha512sums="218083b9b3b4517cfc714169479cba0689a3586d9abb24bcc79d3401d37dd9412cb4e878b6aad06676d5c4f0e03cc69dcaf2e5f48036e2da6f336508c381e462 Encode-HanExtra-0.23.tar.gz"