wok-current rev 5084

Fix: update clearlooks for them compatibility (thanks Rohit)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 14 23:12:24 2010 +0100 (2010-03-14)
parents 10aac5777e2c
children f055b093be32
files clearlooks/receipt
line diff
     1.1 --- a/clearlooks/receipt	Sun Mar 14 15:52:43 2010 +0000
     1.2 +++ b/clearlooks/receipt	Sun Mar 14 23:12:24 2010 +0100
     1.3 @@ -1,15 +1,17 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clearlooks"
     1.7 -VERSION="0.6.2"
     1.8 +VERSION="2.18.5"
     1.9 +SOURCE="gtk-engines"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Clearlooks GTK+ theme."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15  DEPENDS="gtk+ xorg-libXdamage"
    1.16  BUILD_DEPENDS="pkg-config file gtk+-dev"
    1.17 -WEB_SITE="http://clearlooks.sourceforge.net/"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +WEB_SITE="http://live.gnome.org/GnomeArt"
    1.20 +#WEB_SITE="http://clearlooks.sourceforge.net/"
    1.21 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/2.18/$TARBALL"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25 @@ -19,6 +21,7 @@
    1.26  		--prefix=/usr \
    1.27  		--infodir=/usr/share/info \
    1.28  		--mandir=/usr/share/man \
    1.29 +		--enable-animation \
    1.30  		$CONFIGURE_ARGS &&
    1.31  	make &&
    1.32  	make DESTDIR=$PWD/_pkg install
    1.33 @@ -27,7 +30,11 @@
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	cp -a $_pkg/* $fs
    1.38 -	rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
    1.39 -	rm -rf $fs/usr/share/icons
    1.40 +	mkdir -p $fs/usr/share/$SOURCE \
    1.41 +		$fs/usr/share/themes \
    1.42 +		$fs/usr/lib/gtk-2.0/2.10.0/engines
    1.43 +	cp -a $_pkg/usr/share/$SOURCE/clearlooks.xml $fs/usr/share/$SOURCE
    1.44 +	cp -a $_pkg/usr/share/themes/Clearlooks $fs/usr/share/themes
    1.45 +	cp -a $_pkg/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so \
    1.46 +		$fs/usr/lib/gtk-2.0/2.10.0/engines
    1.47  }