summaryrefslogtreecommitdiffstats
path: root/extra/glib/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glib/Pkgfile')
-rwxr-xr-xextra/glib/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/glib/Pkgfile b/extra/glib/Pkgfile
new file mode 100755
index 000000000..e24c292d9
--- /dev/null
+++ b/extra/glib/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Bibliothèque bas niveau utilisée par de nombreux paquets gtk et autres
+# URL: http://www.gtk.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: expat
+# Run on: expat
+
+name=glib
+version=2.30.1
+release=2
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
+
+build () {
+ cd $name-$version
+ export PYTHON=python2
+ ./configure --prefix=/usr \
+ --with-pcre=system \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-pcre=system \
+ --disable-fam
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/gtk-doc
+ sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $PKG/usr/bin/gdbus-codegen
+}