2006-02-23 18:10:28 +01:00
|
|
|
# Description: A multi-platform toolkit for creating graphical user interfaces
|
|
|
|
# URL: http://www.gtk.org/
|
2008-01-30 20:55:32 +01:00
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
2007-03-01 15:35:10 +01:00
|
|
|
# Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr
|
2006-02-23 18:10:28 +01:00
|
|
|
|
|
|
|
name=gtk
|
2009-04-13 10:24:07 +02:00
|
|
|
version=2.16.1
|
2007-11-28 15:19:56 +01:00
|
|
|
release=1
|
2009-04-13 10:24:07 +02:00
|
|
|
source=(http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0.tar.bz2 \
|
|
|
|
http://download.gnome.org/sources/gtk+/2.16/${name}+-2.16.0-2.16.1.diff.gz \
|
2007-11-28 15:19:56 +01:00
|
|
|
gdk-pixbuf.loaders gtk.immodules \
|
2009-04-04 09:55:20 +02:00
|
|
|
gtk-register.sh)
|
2006-02-23 18:10:28 +01:00
|
|
|
|
|
|
|
build () {
|
2009-04-13 10:24:07 +02:00
|
|
|
cd gtk+-2.16.0
|
|
|
|
|
|
|
|
zcat $SRC/gtk+-2.16.0-2.16.1.diff.gz | patch -p1
|
2007-08-29 16:07:25 +02:00
|
|
|
|
2007-01-24 00:40:31 +01:00
|
|
|
./configure --prefix=/usr \
|
2008-09-20 15:35:17 +02:00
|
|
|
--mandir=/usr/man --without-libjasper
|
2006-02-23 18:10:28 +01:00
|
|
|
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
|
2007-09-27 20:14:07 +02:00
|
|
|
|
|
|
|
install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
|
2006-02-23 18:10:28 +01:00
|
|
|
}
|