aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-i18n-langinfo-wide
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-29 12:19:01 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-29 12:19:01 +0000
commit29d91616047d35b641ec9495fce75d18b1cd2a7e (patch)
tree3489034d9e23562e4de6f4f07089fb8efac56786 /testing/perl-i18n-langinfo-wide
parent7f64e0ead5d452752cfabb51284d2b8f28476031 (diff)
downloadaports-29d91616047d35b641ec9495fce75d18b1cd2a7e.tar.bz2
aports-29d91616047d35b641ec9495fce75d18b1cd2a7e.tar.xz
testing/perl-i18n-langinfo-wide: new aport
Diffstat (limited to 'testing/perl-i18n-langinfo-wide')
-rw-r--r--testing/perl-i18n-langinfo-wide/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/perl-i18n-langinfo-wide/APKBUILD b/testing/perl-i18n-langinfo-wide/APKBUILD
new file mode 100644
index 0000000000..28ec85428b
--- /dev/null
+++ b/testing/perl-i18n-langinfo-wide/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-i18n-langinfo-wide
+_pkgreal=I18N-Langinfo-Wide
+pkgver=7
+pkgrel=0
+pkgdesc="Langinfo and POSIX functions with wide-char strings."
+url="http://search.cpan.org/dist/I18N-Langinfo-Wide/"
+arch="noarch"
+license="open_source"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_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="4d7a688a7ef6a126ca96245fab9af99c I18N-Langinfo-Wide-7.tar.gz"