# SliTaz package receipt.

PACKAGE="pixman"
VERSION="0.22.0"
CATEGORY="x-window"
SHORT_DESC="Pixman library."
MAINTAINER="pankso@slitaz.org"
BUILD_DEPENDS="perl"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.cairographics.org/"
WGET_URL="$XORG_MIRROR/lib/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
    	--enable-gtk=no \
    	$CONFIGURE_ARGS &&
    make && make 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
}