From 30508675f3d47df7a43f2b5ae22c26dccf414456 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Mon, 27 Dec 2010 14:06:41 +1100 Subject: [PATCH] p5-text-csv-xs: new port for xtables-geoip --- p5-text-csv-xs/.footprint | 15 +++++++++++++++ p5-text-csv-xs/.md5sum | 1 + p5-text-csv-xs/Pkgfile | 28 ++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 p5-text-csv-xs/.footprint create mode 100644 p5-text-csv-xs/.md5sum create mode 100644 p5-text-csv-xs/Pkgfile diff --git a/p5-text-csv-xs/.footprint b/p5-text-csv-xs/.footprint new file mode 100644 index 000000000..d21119524 --- /dev/null +++ b/p5-text-csv-xs/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/perl5/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/Text/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/Text/CSV_XS.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/auto/Text/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/auto/Text/CSV_XS/ +-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.12/linux-thread-multi/auto/Text/CSV_XS/CSV_XS.so +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man3/ +-r--r--r-- root/root usr/man/man3/Text::CSV_XS.3pm.gz diff --git a/p5-text-csv-xs/.md5sum b/p5-text-csv-xs/.md5sum new file mode 100644 index 000000000..13556dd4a --- /dev/null +++ b/p5-text-csv-xs/.md5sum @@ -0,0 +1 @@ +b3334f0d9764ddd427c02f29277d728d Text-CSV_XS-0.80.tgz diff --git a/p5-text-csv-xs/Pkgfile b/p5-text-csv-xs/Pkgfile new file mode 100644 index 000000000..bcc8db0b5 --- /dev/null +++ b/p5-text-csv-xs/Pkgfile @@ -0,0 +1,28 @@ +# 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 +} +