From 84aefec256b0203d88da2998154c1018215353ee Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 13 Jun 2010 02:02:42 +0200 Subject: p5-date-manip, ajout du Pkgfile --- base/p5-date-manip/.Pkgfile.swp | Bin 0 -> 12288 bytes base/p5-date-manip/.md5sum | 1 + base/p5-date-manip/Pkgfile | 31 +++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 base/p5-date-manip/.Pkgfile.swp create mode 100644 base/p5-date-manip/.md5sum create mode 100644 base/p5-date-manip/Pkgfile (limited to 'base') diff --git a/base/p5-date-manip/.Pkgfile.swp b/base/p5-date-manip/.Pkgfile.swp new file mode 100644 index 000000000..93c1f03b1 Binary files /dev/null and b/base/p5-date-manip/.Pkgfile.swp differ diff --git a/base/p5-date-manip/.md5sum b/base/p5-date-manip/.md5sum new file mode 100644 index 000000000..082755dae --- /dev/null +++ b/base/p5-date-manip/.md5sum @@ -0,0 +1 @@ +c59e3ec265000dc81cf9ba00bae5e5f3 Date-Manip-6.07.tar.gz diff --git a/base/p5-date-manip/Pkgfile b/base/p5-date-manip/Pkgfile new file mode 100644 index 000000000..5ca82add0 --- /dev/null +++ b/base/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.07 +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 + +} -- cgit v1.2.3-70-g09d2