wok-next view gtk-engines/receipt @ rev 20030

Up flam3 (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 15:52:59 2017 +0200 (2017-10-22)
parents 40fab26c175d
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk-engines"
4 VERSION="2.20.2"
5 CATEGORY="customization"
6 SHORT_DESC="Standard GTK+2 theme engines"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
14 BUILD_DEPENDS="file gtk+-dev intltool"
15 SPLIT="gtk-clearlooks gtk-engines gtk-engines-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 gtk-clearlooks)
28 copy libclearlooks.so Clearlooks/ clearlooks.xml
29 sed -i '/xml:lang=/d' $fs/usr/share/gtk-engines/*.xml
30 CAT="x-window|default gtk-engine, with ajustable colors"
31 DEPENDS="gtk+"
32 ;;
33 gtk-engines)
34 copy @std
35 remove_already_packed
36 sed -i '/xml:lang=/d' $fs/usr/share/gtk-engines/*.xml
37 DEPENDS="gtk+ xorg-libXdamage"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }