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