diff options
author | piernov <piernov@piernov.servegame.org> | 2011-07-23 00:25:03 +0200 |
---|---|---|
committer | piernov <piernov@piernov.servegame.org> | 2011-07-23 00:25:03 +0200 |
commit | 457ba45f1f7d291d5881f18786b6a876573a8320 (patch) | |
tree | 0cb3caa3241b510b8a377f683aaa559342424471 /pygtk/Pkgfile | |
download | gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.gz gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.bz2 gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.tar.xz gnome3-457ba45f1f7d291d5881f18786b6a876573a8320.zip |
Création du dépôt
Diffstat (limited to 'pygtk/Pkgfile')
-rw-r--r-- | pygtk/Pkgfile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pygtk/Pkgfile b/pygtk/Pkgfile new file mode 100644 index 0000000..e1f3258 --- /dev/null +++ b/pygtk/Pkgfile @@ -0,0 +1,26 @@ +# Description: Permet l'implémentation de code python dans des applications utilisant gtk +# URL: http://www.pygtk.org/ +# Maintainer: NuTyX core team +# Packager: skingrapher at legtux dot org +# Depends on: gtk, pygobject, py2cairo, libglade +# Run on: gtk,pygobject,py2cairo,libglade + +name=pygtk +version=2.24.0 +release=1 +source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2 + python27.patch) + +build() { + cd $name-$version + patch -Np1 -i ../python27.patch + + PYTHON=python2 ./configure --prefix=/usr --enable-numpy + make + make DESTDIR=$PKG install + + sed -i -e 's#env python$#env python2#' $PKG/usr/lib/pygtk/2.0/{,demos/}*.py + install -m644 gtk/gtk-extrafuncs.defs $PKG/usr/share/pygtk/2.0/defs/ + rm -rf $PKG/usr/share/gtk-doc +} + |