wok-current view gtk+3/receipt @ rev 13957

gtk+3: fix BUILD_DEPENDS (thanks Pascal!)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 30 18:54:24 2013 +0000 (2013-01-30)
parents 04f55d68d377
children 66feb7f9e198
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="atk gdk-pixbuf pango xorg-libXcomposite xorg-libXcursor \
17 xorg-libXdamage xorg-libXi xorg-libXinerama xorg-libXrandr"
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"
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 }