wok-next view gtk-engines/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
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 }