summaryrefslogtreecommitdiff
path: root/p5-file-slurp
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-04-11 17:08:22 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-04-11 17:08:22 +1000
commit0a971887f0572bd213bf575741504743c93ea762 (patch)
tree2dda20ba7c51f793705be727c0977b0ff7538a9c /p5-file-slurp
parent6025e250880c3263dc3f5d98f0f90ae486ac8f47 (diff)
downloadcontrib-0a971887f0572bd213bf575741504743c93ea762.tar.gz
contrib-0a971887f0572bd213bf575741504743c93ea762.tar.xz
p5-file-slurp: new port
Diffstat (limited to 'p5-file-slurp')
-rw-r--r--p5-file-slurp/.footprint10
-rw-r--r--p5-file-slurp/.md5sum1
-rw-r--r--p5-file-slurp/Pkgfile28
3 files changed, 39 insertions, 0 deletions
diff --git a/p5-file-slurp/.footprint b/p5-file-slurp/.footprint
new file mode 100644
index 000000000..dc1773024
--- /dev/null
+++ b/p5-file-slurp/.footprint
@@ -0,0 +1,10 @@
+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.8.8/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/File/
+-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/File/Slurp.pm
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-r--r--r-- root/root usr/man/man3/File::Slurp.3pm.gz
diff --git a/p5-file-slurp/.md5sum b/p5-file-slurp/.md5sum
new file mode 100644
index 000000000..62ead8151
--- /dev/null
+++ b/p5-file-slurp/.md5sum
@@ -0,0 +1 @@
+ac3cd9d466b99d1534762ff3549aaa66 File-Slurp-9999.13.tar.gz
diff --git a/p5-file-slurp/Pkgfile b/p5-file-slurp/Pkgfile
new file mode 100644
index 000000000..f0e13d85a
--- /dev/null
+++ b/p5-file-slurp/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Efficient Reading/Writing of Complete Files.
+# URL: http://search.cpan.org/~drolsky/File-Slurp-9999.13/
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Younes Hafri, ycrux at club dash internet dot fr
+# Depends on: perl
+
+name=p5-file-slurp
+version=9999.13
+release=1
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-Slurp-$version.tar.gz)
+
+build() {
+ cd File-Slurp-$version
+ perl Makefile.PL
+ make OPTIMIZE="$CFLAGS"
+ make DESTDIR=$PKG install
+
+ # Remove perlcrap
+ find $PKG \
+ \( -name '.packlist' -or \
+ -name '*.bs' -or \
+ -name 'autosplit.ix' -or \
+ -name 'perllocal.pod' \) -delete
+
+ # Remove empty directories
+ find $PKG -depth -empty -exec rm -rf {} \;
+}
+

Generated by cgit