# SliTaz package receipt.

PACKAGE="libgnomeprintui"
VERSION="2.18.6"
CATEGORY="x-window"
SHORT_DESC="GNOME print user interface library"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.gnome.org/"
WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL"

DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl"
BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \
libgnomecanvas-dev libart_lgpl-dev intltool"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--with-html-dir=/usr/share/doc \
		$CONFIGURE_ARGS &&
	make && make install
}

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