# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header:$ inherit distutils S=${WORKDIR}/${P} DESCRIPTION="Thuban is an Interactive Geographic Data Viewer" SRC_URI="ftp://intevation.de/thuban/${P}.tar.gz" HOMEPAGE="http://thuban.intevation.org" IUSE="" SLOT="0" KEYWORDS="~x86" LICENSE="GPL-2" DEPEND=">=dev-lang/python-2.2.1 >=wxPython-2.4.1.2 >=proj-4.4.7 >=pysqlite-0.4.3 gdal? ( >=gdal-1.1.9 ) postgis? ( >=psycopg-1.1.5.1)" src_install() { python setup.py install --root=${D} --record=INSTALLED_FILES --prefix=/usr rm ${D}/usr/bin/thuban ln -sf /usr/lib/thuban/thuban.py ${D}/usr/bin/thuban }