wok diff gtk-engines/receipt @ rev 17310

buildroot: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 02 12:25:01 2014 +0100 (2014-11-02)
parents
children 40fab26c175d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtk-engines/receipt	Sun Nov 02 12:25:01 2014 +0100
     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 +}