# SliTaz package receipt.

PACKAGE="ploticus"
VERSION="2.40"
CATEGORY="misc"
SHORT_DESC="Data display engine."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="pl240src"
TARBALL="$SOURCE.tar.gz"
WEB_SITE="http://ploticus.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
DEPENDS="zlib xorg libpng"
BUILD_DEPENDS="zlib-dev xorg-dev"

# Rules to configure and make the package.
compile_rules()
{
	mv $SOURCE $src 2> /dev/null
	cd $src/src
	make || return 1
	mkdir -p ../_pkg/usr/bin
	cp pl ../_pkg/usr/bin
}

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