# SliTaz package receipt.

PACKAGE="gnome-icon-theme"
VERSION="2.31.0"
CATEGORY="x-window"
SHORT_DESC="Default GNOME icon theme."
MAINTAINER="pankso@slitaz.org"
BUILD_DEPENDS="icon-naming-utils intltool pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnome.org/"
WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr
	make
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share $fs/usr/lib
	cp -a $_pkg/usr/share/icons $fs/usr/share
	# pkgconfig in /usr/lib
	cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
}