27 lines
810 B
Plaintext
27 lines
810 B
Plaintext
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
# URL: http://www.gtk.org/
|
|
# Maintainer: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
|
|
|
|
name=gtk
|
|
version=2.10.14
|
|
release=2
|
|
source=(ftp://ftp.gtk.org/pub/gtk/v2.10/${name}+-$version.tar.bz2 \
|
|
gdk-pixbuf.loaders gtk.immodules http-authstring.patch)
|
|
|
|
build () {
|
|
cd gtk+-$version
|
|
|
|
# fix for building with cups 1.3
|
|
patch -p1 -i $SRC/http-authstring.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
|
|
}
|