summaryrefslogtreecommitdiffstats
path: root/glade2/Pkgfile
blob: 23870965566b948f06b8734c825677e47c6df74d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Permet de se créer des interfaces graphiques gtk très facilement. La version 2 permet la génération du code C
# URL: http://www.jamesh.id.au/software/libglade/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk, xorg-libxcursor, xorg-libxdamage, xorg-libxrandr, xorg-libxinerama, rarian
# Run on: gtk

name=glade2
version=2.12.2
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/glade/${version%.*}/glade-$version.tar.bz2 
			http://nutyx.meticul.eu/files/patchs/$name/$name-gtk-01.patch)

build() {
	cd glade-$version
	patch -Np1 -i ../$name-gtk-01.patch
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--mandir=/usr/share/man --localstatedir=/var --disable-static \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
        rm -rf $PKG/usr/share/gtk-doc
}