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