blob: 5730151a32f191aa75af673a406ed013b7e1288e (
plain)
1 # Description: A multi-platform toolkit for creating graphical user interfaces
2 # URL: http://www.gtk.org/
3 # Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
4 # Depends on: atk, hicolor-icon-theme, gdk-pixbuf, pango, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr, xorg-libxcomposite
5
6 name=gtk
7 version=2.24.32
8 release=1
9 source=(http://download.gnome.org/sources/gtk+/2.24/${name}+-$version.tar.xz \
10 gtk.immodules gtk-register.sh)
11
12 build () {
13 cd gtk+-$version
14
15 ./configure --prefix=/usr
16 make
17 make DESTDIR=$PKG install
18 mkdir -p $PKG/usr/etc/gtk-2.0
19 install -m 644 $SRC/gtk.immodules $PKG/usr/etc/gtk-2.0/
20 rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
21
22 install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
23 }
|