29 lines
706 B
Plaintext
29 lines
706 B
Plaintext
|
# Description: Perl Terminal Readkey Library.
|
||
|
# URL: http://search.cpan.org/~hmbrand/Text-CSV_XS-0.80/CSV_XS.pm
|
||
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
||
|
|
||
|
name=p5-text-csv-xs
|
||
|
version=0.80
|
||
|
release=1
|
||
|
source=(http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-$version.tgz)
|
||
|
|
||
|
build() {
|
||
|
cd Text-CSV_XS-$version
|
||
|
|
||
|
perl Makefile.PL
|
||
|
make OPTIMIZE="$CFLAGS"
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
# Remove perlcrap
|
||
|
find $PKG -type f \( \
|
||
|
-name '.packlist' -o \
|
||
|
-name '*.bs' -o \
|
||
|
-name 'autosplit.ix' -o \
|
||
|
-name 'perllocal.pod' \) -delete
|
||
|
|
||
|
# Remove empty directories
|
||
|
find $PKG -depth -empty -delete
|
||
|
}
|
||
|
|