summaryrefslogtreecommitdiffstats
path: root/base/p5-anyevent/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/p5-anyevent/Pkgfile')
-rw-r--r--base/p5-anyevent/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/base/p5-anyevent/Pkgfile b/base/p5-anyevent/Pkgfile
new file mode 100644
index 000000000..1b69e4bfc
--- /dev/null
+++ b/base/p5-anyevent/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Connecteur perl pour AnyEvent
+# URL: http://www.gtkperl.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=p5-anyevent
+version=5.22
+release=1
+source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$version.tar.gz)
+
+build() {
+ cd AnyEvent-$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 ||:
+}