mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-11 03:08:19 +02:00
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-text-csv_xs
|
|
pkgver=1.60
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Text-CSV_XS
|
|
pkgdesc="Comma-Separated Values manipulation routines"
|
|
url="https://metacpan.org/release/Text-CSV_XS/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="perl-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-$pkgver.tgz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
3d41b7c246c6850627018e5e21ecff383d06c74ec633c59bb1064183051bd3af3d829b01963ea55ce36635fdb15826f55a3f4b2b8371e84810a722217ebd1a7b Text-CSV_XS-1.60.tgz
|
|
"
|