blob: 93fa2dea9f2913b09186cca7153aaff2b594be40 (
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
31
32
33
|
# 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
# Run on: glib1
name=gtk1
version=1.2.10
release=1
source=( http://gd.tuwien.ac.at/graphics/gimp/gtk/v1.2/gtk+-$version.tar.gz\
http://nutyx.meticul.eu/files/patchs/$name/config.{guess,sub} \
http://nutyx.meticul.eu/files/patchs/$name/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
}
|