blob: 7e555bbedaa4578392a069736976ccf77f54d0bf (
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
42
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-text-csv_xs
_pkgreal=Text-CSV_XS
pkgver=0.97
pkgrel=0
pkgdesc="Perl module for Text-CSV_XS"
url="http://search.cpan.org/dist/Text-CSV_XS/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://cpan.panu.it/authors/id/H/HM/HMBRAND/$_pkgreal-$pkgver.tgz"
_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"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="0661ffaabc368338a4c001d71fe0551e Text-CSV_XS-0.97.tgz"
sha256sums="98421e12562aa4bfd3db0da65e4d1723bc146ca4895e7e8d616654abfac2aadb Text-CSV_XS-0.97.tgz"
sha512sums="dbdb15aa75207d38e7f597aed0233f6be670b25080b02a44f99298f726c05580396b7f082e702a6323486b5b7252a88f9e116205cd217a2b76174b774e33492a Text-CSV_XS-0.97.tgz"
|