# SliTaz package receipt.

PACKAGE="hicolor-icon-theme"
VERSION="0.12"
CATEGORY="misc"
SHORT_DESC="Icon theme that all icon themes automatically inherit from."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://icon-theme.freedesktop.org/wiki/HicolorTheme"
WGET_URL="http://icon-theme.freedesktop.org/releases/$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()
{
	mkdir -p $fs/usr/share/icons/hicolor
	cp $_pkg/usr/share/icons/hicolor/index.theme $fs/usr/share/icons/hicolor
	cp -a $_pkg/usr/share/icons/hicolor/24x24 $fs/usr/share/icons/hicolor
}