# SliTaz package receipt.

PACKED_SIZE="16.0K"
UNPACKED_SIZE="164.0K"
PACKAGE="hicolor-icon-theme"
VERSION="0.12"
CATEGORY="misc"
SHORT_DESC="Icon theme that all icon themes automatically inherit from."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://icon-theme.freedesktop.org/wiki/HicolorTheme"
WGET_URL="http://icon-theme.freedesktop.org/releases/$TARBALL"
HOST_ARCH="i486 arm"

# Rules to configure and make the package.
compile_rules()
{
	./configure $CONFIGURE_ARGS &&
	make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/share/icons/hicolor
	cp $install/usr/share/icons/hicolor/index.theme $fs/usr/share/icons/hicolor
	cp -a $install/usr/share/icons/hicolor/24x24 $fs/usr/share/icons/hicolor
	sed -i 5i\ 'Inherits=SliTaz' $fs/usr/share/icons/hicolor/index.theme
}
