29 lines
867 B
Plaintext
29 lines
867 B
Plaintext
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
# URL: http://www.gtk.org/
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
# Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
|
|
|
|
name=gtk
|
|
version=2.12.11
|
|
release=1
|
|
source=(http://download.gnome.org/sources/gtk+/2.12/${name}+-$version.tar.bz2 \
|
|
gdk-pixbuf.loaders gtk.immodules \
|
|
gtk-register.sh gtkclipboard.patch)
|
|
|
|
build () {
|
|
cd gtk+-$version
|
|
|
|
patch -p1 -i $SRC/gtkclipboard.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
mkdir -p $PKG/usr/etc/gtk-2.0
|
|
install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \
|
|
$PKG/usr/etc/gtk-2.0/
|
|
rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
|
|
|
|
install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
|
|
}
|