# SliTaz package receipt.

PACKAGE="proj"
VERSION="4.7.0"
CATEGORY="misc"
SHORT_DESC="Cartographic Projections Library."
MAINTAINER="erjo@slitaz.org"
WEB_SITE="http://trac.osgeo.org/proj/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://download.osgeo.org/proj/$TARBALL"

DEPENDS=""
BUILD_DEPENDS=""

# Rules to configure and make the package.
compile_rules()
{
	./configure $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 $install/usr/bin $fs/usr
	cp -a $install/usr/lib/*.so* $fs/usr/lib
	cp -a $install/usr/share/proj $fs/usr/share
	
}