2006-02-23 17:10:28 +00: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
|
2010-12-07 21:11:47 +01:00
|
|
|
# Depends on: atk, hicolor-icon-theme, gdk-pixbuf, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr, xorg-libxcomposite
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
name=gtk
|
2011-11-20 16:24:26 +01:00
|
|
|
version=2.24.8
|
2011-11-21 17:21:29 +01:00
|
|
|
release=2
|
2011-11-20 16:24:26 +01:00
|
|
|
source=(http://download.gnome.org/sources/gtk+/2.24/${name}+-$version.tar.xz \
|
|
|
|
gtk.immodules gtk-register.sh)
|
2006-02-23 17:10:28 +00:00
|
|
|
|
|
|
|
build () {
|
2011-03-24 08:41:41 +01:00
|
|
|
cd gtk+-$version
|
2010-03-21 16:25:08 +01:00
|
|
|
|
2010-11-28 12:24:16 +01:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
2006-02-23 17:10:28 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/usr/etc/gtk-2.0
|
2010-11-28 10:38:10 +01:00
|
|
|
install -m 644 $SRC/gtk.immodules $PKG/usr/etc/gtk-2.0/
|
2006-02-23 17:10:28 +00:00
|
|
|
rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo
|
2007-09-27 13:14:07 -05:00
|
|
|
|
|
|
|
install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register
|
2006-02-23 17:10:28 +00:00
|
|
|
}
|