From 99a1b704b7bba4230e5ec773ed4c7d467a7a0607 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 11 Aug 2009 22:34:30 +0200 Subject: Ajout de p5-date-manip#5.54-1 --- extra/p5-date-manip/.footprint | 12 ++++++++++++ extra/p5-date-manip/.md5sum | 1 + extra/p5-date-manip/Pkgfile | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 extra/p5-date-manip/.footprint create mode 100644 extra/p5-date-manip/.md5sum create mode 100755 extra/p5-date-manip/Pkgfile (limited to 'extra/p5-date-manip') diff --git a/extra/p5-date-manip/.footprint b/extra/p5-date-manip/.footprint new file mode 100644 index 000000000..55311728b --- /dev/null +++ b/extra/p5-date-manip/.footprint @@ -0,0 +1,12 @@ +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.10.0/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.10.0/Date/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/Date/Manip.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.10.0/Date/Manip.pod +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-r--r--r-- root/root usr/share/man/man3/Date::Manip.3.gz diff --git a/extra/p5-date-manip/.md5sum b/extra/p5-date-manip/.md5sum new file mode 100644 index 000000000..f96055851 --- /dev/null +++ b/extra/p5-date-manip/.md5sum @@ -0,0 +1 @@ +16c343329bad644b17f4f8ec5fb243cf Date-Manip-5.54.tar.gz diff --git a/extra/p5-date-manip/Pkgfile b/extra/p5-date-manip/Pkgfile new file mode 100755 index 000000000..6280b0d43 --- /dev/null +++ b/extra/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 + +} -- cgit v1.2.3-70-g09d2