summaryrefslogtreecommitdiffstats
path: root/extra/p5-date-manip/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:34:30 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:34:30 +0200
commit99a1b704b7bba4230e5ec773ed4c7d467a7a0607 (patch)
tree3d9d3cc42e746ebb22c4742b5b76337244425bd7 /extra/p5-date-manip/Pkgfile
parentff8f878e31692cee60cb9bbbfac0e5b244b6a90c (diff)
downloadnutyx-pakxe-99a1b704b7bba4230e5ec773ed4c7d467a7a0607.tar.gz
nutyx-pakxe-99a1b704b7bba4230e5ec773ed4c7d467a7a0607.tar.bz2
nutyx-pakxe-99a1b704b7bba4230e5ec773ed4c7d467a7a0607.tar.xz
nutyx-pakxe-99a1b704b7bba4230e5ec773ed4c7d467a7a0607.zip
Ajout de p5-date-manip#5.54-1
Diffstat (limited to 'extra/p5-date-manip/Pkgfile')
-rwxr-xr-xextra/p5-date-manip/Pkgfile32
1 files changed, 32 insertions, 0 deletions
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
+
+}