blob: 54cb24d0f1ea5c3bd8140595ba03e47b87c1b173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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=8
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 perl-devel-stacktrace"
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="77dc5dde2bb72fc71390810f43bc1404 I18N-Langinfo-Wide-8.tar.gz"
sha256sums="d851c2f2896b6a3f1dc16f7c2ffa13f85a3f82570497811cdb0eb325ad1d4536 I18N-Langinfo-Wide-8.tar.gz"
sha512sums="b9e369e3e5b09a13eb0da6c596b05482e76193570fc9a99c2ab736dcb6640fe7285ca062793976e5bf65fbabc81c44aac1a1ea4196d100ecd7271a40534ccacf I18N-Langinfo-Wide-8.tar.gz"
|