# SliTaz package receipt.

PACKED_SIZE="40.0K"
UNPACKED_SIZE="176.0K"
PACKAGE="clearlooks"
VERSION="0.6.2"
CATEGORY="x-window"
SHORT_DESC="Clearlooks GTK+ theme."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config file gtk+-dev"
WEB_SITE="http://clearlooks.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/* $fs
	rm $fs/usr/lib/gtk-2.0/2.10.0/engines/*.la
	rm -rf $fs/usr/share/icons
}
