blob: 2d8be4cf49544657affa14d19da6c7956b08bc17 (
plain)
1 # Description: A multi-platform toolkit for creating graphical user interfaces
2 # URL: http://www.gtk.org/
3 # Maintainer: Matt Housh, jaeger 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.12.1
8 release=1
9 source=(ftp://ftp.gtk.org/pub/gtk/2.12/${name}+-$version.tar.bz2 \
10 gdk-pixbuf.loaders gtk.immodules gdkwindow.patch \
11 gtk-register.sh)
12
13 build () {
14 cd gtk+-$version
15
16 patch -p0 -i $SRC/gdkwindow.patch
17
18 ./configure --prefix=/usr \
19 --mandir=/usr/man
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 }
|