blob: 307d1015955c0a8adbf9c24e9d3c1cc8010e67b7 (
plain)
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.14.2
8 release=1
9 source=(http://download.gnome.org/sources/gtk+/2.14/${name}+-$version.tar.bz2 \
10 gdk-pixbuf.loaders gtk.immodules \
11 gtk-register.sh gtkclipboard.patch)
12
13 build () {
14 cd gtk+-$version
15
16 patch -p1 -i $SRC/gtkclipboard.patch
17
18 ./configure --prefix=/usr \
19 --mandir=/usr/man --without-libjasper
20 make
21 make DESTDIR=$PKG install
22 mkdir -p $PKG/usr/etc/gtk-2.0
23 install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
24 $PKG/usr/etc/gtk-2.0/
25 rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
26
27 install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
28 }
|