blob: 302e3408d3c4dd2bc8c69874303883b5f8cc889f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.16.0
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$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
}
|