blob: 57650fecc85d1d515afaa2e4ed0723c14840233e (
plain)
1 # Description: Efficient Reading/Writing of Complete Files.
2 # URL: http://search.cpan.org/~drolsky/File-Slurp-9999.13/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Younes Hafri, ycrux at club dash internet dot fr
5 # Depends on:
6
7 name=p5-file-slurp
8 version=9999.13
9 release=1
10 source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-Slurp-$version.tar.gz)
11
12 build() {
13 cd File-Slurp-$version
14 perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make DESTDIR=$PKG install
17
18 # Remove perlcrap
19 find $PKG \
20 \( -name '.packlist' -or \
21 -name '*.bs' -or \
22 -name 'autosplit.ix' -or \
23 -name 'perllocal.pod' \) -delete
24
25 # Remove empty directories
26 find $PKG -depth -empty -exec rm -rf {} \;
27 }
|