CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 835 -
(show annotations)
Sun Oct 4 15:10:16 2009 UTC (3 years, 8 months ago) by cjg
File size: 886 byte(s)
Sun Oct 4 15:10:16 2009 UTC (3 years, 8 months ago) by cjg
File size: 886 byte(s)
gtk: bump to 2.14.6
| 1 | # Description: A multi-platform toolkit for creating graphical user interfaces |
| 2 | # URL: http://www.gtk.org/ |
| 3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu |
| 4 | # Depends on: atk, hicolor-icon-theme, libtiff, pango, xorg-libsm, xorg-libxcursor, xorg-libxinerama, xorg-libxrandr |
| 5 | |
| 6 | name=gtk |
| 7 | version=2.14.6 |
| 8 | release=1 |
| 9 | source=(http://download.gnome.org/sources/gtk+/2.14/${name}+-$version.tar.bz2 \ |
| 10 | gdk-pixbuf.loaders gtk.immodules \ |
| 11 | gtk-register.sh gtkclipboard.patch) |
| 12 | |
| 13 | build () { |
| 14 | cd gtk+-$version |
| 15 | |
| 16 | patch -p1 -i $SRC/gtkclipboard.patch |
| 17 | |
| 18 | ./configure --prefix=/usr \ |
| 19 | --mandir=/usr/man --without-libjasper |
| 20 | make |
| 21 | make DESTDIR=$PKG install |
| 22 | mkdir -p $PKG/usr/etc/gtk-2.0 |
| 23 | install -m 644 $SRC/{gtk.immodules,gdk-pixbuf.loaders} \ |
| 24 | $PKG/usr/etc/gtk-2.0/ |
| 25 | rm -r $PKG/usr/share/{locale,gtk-doc,gtk-2.0} $PKG/usr/bin/gtk-demo |
| 26 | |
| 27 | install -m 0755 $SRC/gtk-register.sh $PKG/usr/bin/gtk-register |
| 28 | } |