26 lines
565 B
Plaintext
26 lines
565 B
Plaintext
# Description: Perl comma-separated values manipulation routines.
|
|
# URL: https://metacpan.org/release/Text-CSV_XS
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
name=p5-text-csv-xs
|
|
version=1.49
|
|
release=1
|
|
source=(https://www.cpan.org/modules/by-module/Text/Text-CSV_XS-$version.tgz)
|
|
|
|
build() {
|
|
cd Text-CSV_XS-$version
|
|
|
|
perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
|
|
find $PKG -type f \( \
|
|
-name '.packlist' -o \
|
|
-name '*.bs' -o \
|
|
-name 'autosplit.ix' -o \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
find $PKG -depth -empty -delete
|
|
}
|
|
|