blob: 6eaa91d6693ac78bf9c19621eb13d774b21305cb (
plain)
1 # Description: Perl comma-separated values manipulation routines.
2 # URL: http://search.cpan.org/dist/Text-CSV_XS/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5
6 name=p5-text-csv-xs
7 version=1.22
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 }
|