diff options
author | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:23:44 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2009-12-18 19:23:44 +0100 |
commit | e0e230bb4ff7b59cd496747e0ce23d10b6553a05 (patch) | |
tree | 5f31d14c17203f977db0d6f34bcfcba50fc36340 /base/p5-date-manip/Pkgfile | |
parent | 761fd490ba73792eaf1a502c3c1648f45c07ee99 (diff) | |
download | nutyx-pakxe-e0e230bb4ff7b59cd496747e0ce23d10b6553a05.tar.gz nutyx-pakxe-e0e230bb4ff7b59cd496747e0ce23d10b6553a05.tar.bz2 nutyx-pakxe-e0e230bb4ff7b59cd496747e0ce23d10b6553a05.tar.xz nutyx-pakxe-e0e230bb4ff7b59cd496747e0ce23d10b6553a05.zip |
p5-date-manip, déplacé dans base
Diffstat (limited to 'base/p5-date-manip/Pkgfile')
-rwxr-xr-x | base/p5-date-manip/Pkgfile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/base/p5-date-manip/Pkgfile b/base/p5-date-manip/Pkgfile new file mode 100755 index 000000000..6280b0d43 --- /dev/null +++ b/base/p5-date-manip/Pkgfile @@ -0,0 +1,32 @@ +# Description: Perl date manip +# URL: http://search.cpan.org/~sbeck/Date-Manip-5.48/Manip.pod +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=p5-date-manip +version=5.54 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-$version.tar.gz) + + +build() { + cd Date-Manip-$version + + perl Makefile.PL + make OPTIMIZE="$CFLAGS" + make install DESTDIR=$PKG + + # Remove perlcrap + find $PKG \ + -name .packlist -or \ + -name '*.bs' -or \ + -name autosplit.ix -or \ + -name perllocal.pod | xargs rm + + # Remove empty directories + find $PKG -depth -empty -exec rm -rf {} \; + + chown -R root:root $PKG + +} |