wok rev 17087

Add gtk-engines
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Aug 26 21:42:50 2014 +0200 (2014-08-26)
parents e96aa956e72e
children e2025591bd78
files gtk-engines/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtk-engines/receipt	Tue Aug 26 21:42:50 2014 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtk-engines"
     1.7 +VERSION="2.20.2"
     1.8 +CATEGORY="gnome"
     1.9 +SHORT_DESC="All standart GTK+2 engines for themes"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
    1.14 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ xorg-libXdamage"
    1.17 +BUILD_DEPENDS="pkg-config file gtk+-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $install/* $fs && rm -rf $fs/usr/share/locale
    1.29 +	rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
    1.30 +	cd $fs/usr/share/$PACKAGE ; sed -i '/lang/d' *
    1.31 +	
    1.32 +	# This clearlooks is 5(!) years newer (+~100Kb)
    1.33 +	# but there are bugs with default slitaz gtk themes
    1.34 +	find $fs -regex '.*\(clearlooks\|Clearlooks\).*' \
    1.35 +	-exec ls -l {} \; -delete
    1.36 +}