summaryrefslogtreecommitdiffstats
path: root/extra/p5-event/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/p5-event/Pkgfile')
-rw-r--r--extra/p5-event/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/p5-event/Pkgfile b/extra/p5-event/Pkgfile
new file mode 100644
index 000000000..00d20ec94
--- /dev/null
+++ b/extra/p5-event/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Connecteur perl pour Event
+# URL: http://www.gtkperl.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: perl
+
+name=p5-event
+version=1.11
+release=1
+source=(http://www.cpan.org/modules/by-module/Event/Event-$version.tar.gz)
+
+build() {
+ cd Event-$version
+ perl Makefile.PL
+ make
+ make DESTDIR=$PKG install
+ find $PKG \
+ -name perllocal.pod \
+ -o -name .packlist | xargs rm
+ find $PKG -empty | xargs rmdir -p ||:
+}