mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-28 15:02:04 +01:00
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# 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=1.19
|
|
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://search.cpan.org/CPAN/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="d25bb37e43a836a3f396faf387307548 Text-CSV_XS-1.19.tgz"
|
|
sha256sums="bcde887f613c6a50b0ce8f714cd2463570f5809f26581615690cfb424d2a7c16 Text-CSV_XS-1.19.tgz"
|
|
sha512sums="2948e535d5621643539e927fc6a650f56b19cfe257424d1422f5d4854c279dbebbc3d61b79d00de23eeff3de58ca53f6bd29fc2e8140fbeb1c2ece90942d4410 Text-CSV_XS-1.19.tgz"
|