blob: 709b2b675e376243a727f19ce16bd6773af837ac (
plain)
1 # Description: Perl comma-separated values manipulation routines.
2 # URL: http://search.cpan.org/~hmbrand/Text-CSV_XS-0.82/CSV_XS.pm
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Danny Rawlins, monster dot romster at gmail dot com
5
6 name=p5-text-csv-xs
7 version=0.88
8 release=1
9 source=(http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/Text-CSV_XS-$version.tgz)
10
11 build() {
12 cd Text-CSV_XS-$version
13
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make DESTDIR=$PKG install
17
18 # Remove perlcrap
19 find $PKG -type f \( \
20 -name '.packlist' -o \
21 -name '*.bs' -o \
22 -name 'autosplit.ix' -o \
23 -name 'perllocal.pod' \) -delete
24
25 # Remove empty directories
26 find $PKG -depth -empty -delete
27 }
|