summaryrefslogtreecommitdiffstats
path: root/base/gtk1/Pkgfile
blob: 1e4e93bcb53a37e03d7a60ac0e24f836b6230025 (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
25
26
27
28
29
30
# Description: Librairie GTK+, utiliser dans des applications graphiques
# URL:  http://gd.tuwien.ac.at/graphics
# Maintainer: NuTyX core team 
# Packager: thierryn1 at hispeed dot ch
# Depends on: glib1,xorg

name=gtk1
version=1.2.10
release=1
source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz\
 config.{guess,sub} aclocal-fixes.patch)

build() {
cd gtk+-$version
if [ "`uname -m`" == "x86_64" ]; then
	rm config.guess config.sub
	cp ../config.guess  config.guess
	cp ../config.sub config.sub

fi
patch -Np0 -i ../aclocal-fixes.patch
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-xinput=xfree
	make
	make DESTDIR=$PKG install
	rm $PKG/usr/share/info/dir
}