# SliTaz package receipt.

PACKED_SIZE="16.0K"
UNPACKED_SIZE="32.0K"
PACKAGE="xorg-libXdamage"
VERSION="1.1.3"
CATEGORY="x-window"
SHORT_DESC="Xorg damage extension."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xorg-libXfixes"
BUILD_DEPENDS="pkg-config xorg-damageproto xorg-libXfixes-dev"
SOURCE="libXdamage"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://www.x.org/"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"

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

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