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