summaryrefslogtreecommitdiffstats
path: root/extra/p5-gtk2/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:40:13 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:40:13 +0200
commitbab2d20d716c71feec581439d5e2523c40875e63 (patch)
treec074dc5de360e69494d750c4109ce0bb3ae2b90d /extra/p5-gtk2/Pkgfile
parentf3cabfc42d74ee221c65f8dd7e64210259168540 (diff)
downloadnutyx-pakxe-bab2d20d716c71feec581439d5e2523c40875e63.tar.gz
nutyx-pakxe-bab2d20d716c71feec581439d5e2523c40875e63.tar.bz2
nutyx-pakxe-bab2d20d716c71feec581439d5e2523c40875e63.tar.xz
nutyx-pakxe-bab2d20d716c71feec581439d5e2523c40875e63.zip
Ajout de p5-gtk2#1.202-1
Diffstat (limited to 'extra/p5-gtk2/Pkgfile')
-rw-r--r--extra/p5-gtk2/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/p5-gtk2/Pkgfile b/extra/p5-gtk2/Pkgfile
new file mode 100644
index 000000000..ce372b417
--- /dev/null
+++ b/extra/p5-gtk2/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Connecteur perl pour gtk
+# URL: http://www.gtkperl.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: p5-cairo
+
+name=p5-gtk2
+version=1.202
+release=1
+source=(http://www.cpan.org/modules/by-module/Gtk2/Gtk2-${version}.tar.gz)
+
+build() {
+ cd Gtk2-$version
+ perl Makefile.PL \
+ --without-gdkimlib \
+ --without-gnome \
+ --without-applets \
+ --without-gnomeprint \
+ --without-glade
+ make
+ make DESTDIR=$PKG install
+ find $PKG \
+ -name perllocal.pod \
+ -o -name .packlist | xargs rm
+ find $PKG -empty | xargs rmdir -p ||:
+}