2006-02-23 17:10:28 +00:00
|
|
|
# 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, pango, libtiff, hicolor-icon-theme
|
|
|
|
|
|
|
|
name=gtk
|
2006-08-02 13:21:10 +00:00
|
|
|
version=2.10.1
|
2006-08-09 13:38:57 +00:00
|
|
|
release=2
|
2006-08-02 13:21:10 +00:00
|
|
|
source=(ftp://ftp.gtk.org/pub/gtk/v2.10/${name}+-$version.tar.bz2 \
|
2006-08-09 13:38:57 +00:00
|
|
|
gdk-pixbuf.loaders gtk.immodules $name+-$version-stock-icon.diff)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build () {
|
2006-08-09 13:38:57 +00:00
|
|
|
cd gtk+-$version
|
|
|
|
patch -p1 -i $SRC/$name+-$version-stock-icon.diff
|
2006-02-23 17:10:28 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
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
|
|
|
|
}
|