Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 699 - (show annotations)
Sun Oct 4 15:05:55 2009 UTC (3 years, 7 months ago) by cjg
File size: 1178 byte(s)
import updates from 2.6
1 # Description: A multi-platform toolkit for creating graphical user interfaces
2 # URL: http://www.gtk.org/
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
5 # PPC!= .
6
7 name=gtk
8 version=2.16.6
9 release=1
10 source=(http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.4.tar.bz2 \
11 http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.4-2.16.5.diff.gz \
12 http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.4-2.16.5.diff.gz \
13 http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.5-2.16.6.diff.gz \
14 gdk-pixbuf.loaders gtk.immodules \
15 gtk-register.sh)
16
17 build () {
18 cd gtk+-2.16.4
19
20 zcat $SRC/gtk+-2.16.4-2.16.5.diff.gz | patch -p1
21 zcat $SRC/gtk+-2.16.5-2.16.6.diff.gz | patch -p1
22
23 ./configure --prefix=/usr \
24 --mandir=/usr/man --without-libjasper
25 make
26 make DESTDIR=$PKG install
27 mkdir -p $PKG/usr/etc/gtk-2.0
28 install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
29 $PKG/usr/etc/gtk-2.0/
30 rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
31
32 install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
33 }