# SliTaz package receipt.

PACKAGE="extrema"
VERSION="4.4.5"
CATEGORY="office"
SHORT_DESC="Powerful visualization and data analysis tool."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://exsitewebware.com/extrema/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="data visualization analysis"

DEPENDS="gtk+ wxWidgets xorg-libXxf86vm libxml2"
BUILD_DEPENDS="gtk+-dev wxWidgets-dev"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--enable-shared \
		$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/extrema $fs/usr/share
	cp -a $_pkg/usr/bin $fs/usr
}