wok-current view gtk-engines/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
parents b77195a00671
children
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="https://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 }