wok-undigest annotate gtk+3/receipt @ rev 883
Remove wine-rt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 08 09:24:00 2012 +0100 (2012-11-08) |
parents | |
children | 0d8255c90433 |
rev | line source |
---|---|
pankso@652 | 1 # SliTaz package receipt. |
pankso@652 | 2 |
pankso@652 | 3 PACKAGE="gtk+3" |
pankso@652 | 4 SOURCE="gtk+" |
pankso@652 | 5 VERSION="3.2.3" |
pankso@652 | 6 CATEGORY="x-window" |
pankso@652 | 7 SHORT_DESC="The GIMP Toolkit 3.x." |
pankso@652 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@652 | 9 SUGGESTED="cups" |
pankso@652 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@652 | 11 WEB_SITE="http://www.gtk.org/" |
pankso@652 | 12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL" |
pankso@652 | 13 CONFIG_FILES="/etc/gtk-3.0/settings.ini" |
pankso@652 | 14 CROSS="bug: /bin/bash: no: command not found" |
pankso@652 | 15 |
pankso@652 | 16 DEPENDS="glibc-base expat libxcb xcb-util zlib glib cairo pango atk libpng \ |
pankso@652 | 17 jpeg tiff gdk-pixbuf fontconfig freetype pixman xorg" |
pankso@652 | 18 BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \ |
pankso@652 | 19 perl gdk-pixbuf-dev xorg-dev" |
pankso@652 | 20 |
pankso@652 | 21 # Rules to configure and make the package. |
pankso@652 | 22 compile_rules() |
pankso@652 | 23 { |
pankso@652 | 24 cd $src |
pankso@652 | 25 ./configure \ |
pankso@652 | 26 --prefix=/usr \ |
pankso@652 | 27 --sysconfdir=/etc \ |
pankso@652 | 28 --build=$HOST_SYSTEM --host=$HOST_SYSTEM && |
pankso@652 | 29 make $MAKEFLAGS && |
pankso@652 | 30 make DESTDIR=$DESTDIR install |
pankso@652 | 31 } |
pankso@652 | 32 |
pankso@652 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@652 | 34 genpkg_rules() |
pankso@652 | 35 { |
pankso@652 | 36 mkdir -p $fs/usr/lib/gtk-3.0 $fs/usr/share $fs/usr/bin $fs/etc/gtk-3.0 |
pankso@652 | 37 |
pankso@652 | 38 # Libs. |
pankso@652 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@652 | 40 cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-2.0 |
pankso@652 | 41 rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la |
pankso@652 | 42 |
pankso@652 | 43 # Themes |
pankso@652 | 44 cp -a $install/usr/share/themes $fs/usr/share |
pankso@652 | 45 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
pankso@652 | 46 |
pankso@652 | 47 # Apps. |
pankso@652 | 48 cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin |
pankso@652 | 49 #cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin |
pankso@652 | 50 |
pankso@652 | 51 # Configuration file |
pankso@652 | 52 cp -a $install/etc $fs |
pankso@652 | 53 cp -f $stuff/settings.ini $fs/etc/gtk-3.0 |
pankso@652 | 54 } |