# SliTaz package receipt.

PACKAGE="cairomm"
VERSION="1.10.0"
CATEGORY="x-window"
SHORT_DESC="2D graphics library (mm)."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.cairographics.org/"
WGET_URL="http://cairographics.org/releases/$TARBALL"

DEPENDS="pixman cairo libsigc++ xcb-util"
BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $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
}