wok-current view gtk+3/receipt @ rev 15363
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 03 09:52:57 2013 +0000 (2013-10-03) |
parents | a00bf44ed23d |
children | 2a3776157b63 |
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 LICENSE="LGPL2"
9 SOURCE="gtk+"
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 xorg-libXi \
17 xorg-libXinerama xorg-libXrandr"
18 SUGGESTED="cups"
19 BUILD_DEPENDS="bash pkg-config cups-dev dbus-dev gobject-introspection-dev \
20 perl gdk-pixbuf-dev xorg-dev libffi-dev atk-dev pango-dev cairo-dev indent \
21 libxml2-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 --build=$HOST_SYSTEM \
31 --host=$HOST_SYSTEM \
32 --enable-debug=no \
33 --enable-xkb \
34 --enable-xinerama \
35 --enable-xrandr \
36 --enable-xfixes \
37 --enable-xcomposite \
38 --enable-xdamage \
39 --enable-x11-backend \
40 --enable-introspection=yes \
41 --enable-packagekit=no \
42 --enable-colord=no \
43 --with-x &&
44 make $MAKEFLAGS &&
45 make DESTDIR=$DESTDIR install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p \
52 $fs/etc/gtk-3.0 \
53 $fs/usr/bin \
54 $fs/usr/lib/gtk-3.0 \
55 $fs/usr/share
57 # Configuration file.
58 cp -a $install/etc $fs
59 cp -f $stuff/settings.ini $fs/etc/gtk-3.0
61 # Apps.
62 cp $install/usr/bin/gtk-query-immodules-3.0 $fs/usr/bin
63 cp $install/usr/bin/gtk-update-icon-cache $fs/usr/bin
64 # gtk3-demo & gtk3-demo-application -> gtk+3-demo
65 # gtk3-widget-factory -> gtk+3-widget-factory
67 # Libs.
68 cp -a $install/usr/lib/*.so* $fs/usr/lib
69 cp -a $install/usr/lib/gtk-3.0/3.0.0 $fs/usr/lib/gtk-3.0
70 rm -rf $fs/usr/lib/gtk-3.0/3.0.0/*/*.la
72 # Themes.
73 cp -a $install/usr/share/themes $fs/usr/share
74 cp -a $install/usr/share/glib-2.0 $fs/usr/share
75 }