diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 16:55:54 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 16:55:54 +0200 |
commit | b86d78518e8cc8eebc0d62cf61f4f6166376d2c1 (patch) | |
tree | 7f5b13a8bf7235c36ae97dc5f69087774b9d0170 /extra/p5-date-manip/Pkgfile | |
parent | 9521ac17a1150376b96b0d04d0d6ab70eefd4c16 (diff) | |
download | nutyx-pakxe-b86d78518e8cc8eebc0d62cf61f4f6166376d2c1.tar.gz nutyx-pakxe-b86d78518e8cc8eebc0d62cf61f4f6166376d2c1.tar.bz2 nutyx-pakxe-b86d78518e8cc8eebc0d62cf61f4f6166376d2c1.tar.xz nutyx-pakxe-b86d78518e8cc8eebc0d62cf61f4f6166376d2c1.zip |
p5-date-manip dans extra
Diffstat (limited to 'extra/p5-date-manip/Pkgfile')
-rw-r--r-- | extra/p5-date-manip/Pkgfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/p5-date-manip/Pkgfile b/extra/p5-date-manip/Pkgfile new file mode 100644 index 000000000..90ba777da --- /dev/null +++ b/extra/p5-date-manip/Pkgfile @@ -0,0 +1,31 @@ +# 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 + +name=p5-date-manip +version=6.21 +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 + +} |