diff options
Diffstat (limited to 'extra/pygtk/Pkgfile')
-rw-r--r-- | extra/pygtk/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/pygtk/Pkgfile b/extra/pygtk/Pkgfile new file mode 100644 index 000000000..8eb8e9aa3 --- /dev/null +++ b/extra/pygtk/Pkgfile @@ -0,0 +1,20 @@ +# Description: Permet l'implémentation de code python dans des applications utilisant gtk +# URL: http://www.pygtk.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: gtk, pygobject, pycairo, libglade + +name=pygtk +version=2.14.1 +release=1 +source=(http://ftp.gnome.org/pub/gnome/sources/$name/2.14/$name-$version.tar.bz2) + +build() { + cd $name-$version + sed -i -e 's/SUBDIRS = codegen . $(GTK_SUBDIR) examples tests docs/SUBDIRS = codegen . $(GTK_SUBDIR) examples tests/' Makefile.in + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + install -m644 gtk/gtk-extrafuncs.defs $PKG/usr/share/pygtk/2.0/defs/ + rm -rf $PKG/usr/share/gtk-doc +} |