# SliTaz package receipt.

PACKED_SIZE="20.0K"
UNPACKED_SIZE="44.0K"
PACKAGE="xorg-libXtst"
VERSION="1.2.1"
CATEGORY="x-window"
SHORT_DESC="Xorg server module."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
SOURCE="libXtst"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"
HOST_ARCH="i486 arm"

DEPENDS="xorg-libXext xorg-libXi"
BUILD_DEPENDS="xorg-recordproto xorg-libXext-dev xorg-libXi-dev"

# Rules to configure and make the package.
compile_rules()
{
	./configure \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		$CONFIGURE_ARGS
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $install/usr/lib/*.so* $fs/usr/lib
}
