Subversion Repository

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1226 - (show annotations)
Sun Oct 4 15:13:20 2009 UTC (3 years, 7 months ago) by cjg
File size: 1168 byte(s)
gtk: autoupdate to 2.16.6-1
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
6 name=gtk
7 version=2.16.6
8 release=1
9 source=(http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.4.tar.bz2 \
10 http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.4-2.16.5.diff.gz \
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.5-2.16.6.diff.gz \
13 gdk-pixbuf.loaders gtk.immodules \
14 gtk-register.sh)
15
16 build () {
17 cd gtk+-2.16.4
18
19 zcat $SRC/gtk+-2.16.4-2.16.5.diff.gz | patch -p1
20 zcat $SRC/gtk+-2.16.5-2.16.6.diff.gz | patch -p1
21
22 ./configure --prefix=/usr \
23 --mandir=/usr/man --without-libjasper
24 make
25 make DESTDIR=$PKG install
26 mkdir -p $PKG/usr/etc/gtk-2.0
27 install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
28 $PKG/usr/etc/gtk-2.0/
29 rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
30
31 install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
32 }