wok view gtk-engines/receipt @ rev 24650
updated htop (2.2.0 -> 3.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 16:26:13 2022 +0100 (2022-03-10) |
parents | 6831608a1b2a |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-engines"
4 VERSION="2.20.2"
5 CATEGORY="customization"
6 SHORT_DESC="All standart GTK+2 engines for themes"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="pkg-config file gtk+-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs && rm -rf $fs/usr/share/locale
32 rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
33 cd $fs/usr/share/$PACKAGE ; sed -i '/lang/d' *
35 # This clearlooks is 5(!) years newer (+~100Kb)
36 # but there are bugs with default slitaz gtk themes
37 find $fs -regex '.*\(clearlooks\|Clearlooks\).*' \
38 -exec ls -l {} \; -delete
39 }