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