wok annotate gtk-engines/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents b77195a00671
children
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"
pascal@24746 10 WEB_SITE="https://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 }