# SliTaz package receipt.

PACKAGE="xorg-iceauth"
VERSION="1.0.4"
CATEGORY="x-window"
SHORT_DESC="ICE authority file utility"
MAINTAINER="erjo@slitaz.org"
DEPENDS="xorg-libICE"
BUILD_DEPENDS="xorg-libICE-dev pkg-config"
SOURCE="iceauth"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="http://xorg.freedesktop.org/archive/individual/app/$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
	cp -a $_pkg/usr/bin $fs/usr
}