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