wok-current view gtk+3/receipt @ rev 14416
new: python-edje
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 19:18:28 2013 +0200 (2013-04-23) |
parents | f633cb67c315 |
children | a00bf44ed23d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk+3"
4 VERSION="3.4.4"
5 CATEGORY="x-window"
6 SHORT_DESC="The GIMP Toolkit 3.x"
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="gtk+"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION:0:3}/$TARBALL"
12 CONFIG_FILES="/etc/gtk-3.0/settings.ini"
13 CROSS="bug: /bin/bash: no: command not found"
15 DEPENDS="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor xorg-libXi \
16 xorg-libXinerama xorg-libXrandr"
17 SUGGESTED="cups"
18 BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \
19 perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev indent "
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --build=$HOST_SYSTEM \
29 --host=$HOST_SYSTEM \
30 --enable-debug=no \
31 --enable-xkb \
32 --enable-xinerama \
33 --enable-xrandr \
34 --enable-xfixes \
35 --enable-xcomposite \
36 --enable-xdamage \
37 --enable-x11-backend \
38 --enable-introspection=yes \
39 --enable-packagekit=no \
40 --enable-colord=no \
41 --with-x &&
42 make $MAKEFLAGS &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p \
50 $fs/etc/gtk-3.0 \
51 $fs/usr/bin \
52 $fs/usr/lib/gtk-3.0 \
53 $fs/usr/share
55 # Configuration file.
56 cp -a $install/etc $fs
57 cp -f $stuff/settings.ini $fs/etc/gtk-3.0
59 # Apps.
60 cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin
61 cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin
62 # gtk3-demo & gtk3-demo-application -> gtk+3-demo
63 # gtk3-widget-factory -> gtk+3-widget-factory
65 # Libs.
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-3.0
68 rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la
70 # Themes.
71 cp -a $install/usr/share/themes $fs/usr/share
72 cp -a $install/usr/share/glib-2.0 $fs/usr/share
73 }