# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header:$ S="${WORKDIR}/${P}" DESCRIPTION="GRASS libgis and libdatetime library" SRC_URI="http://gdal.velocet.ca/projects/grass/${P}.tar.gz" HOMEPAGE="http://gdal.velocet.ca/projects/grass" LICENSE="GPL-2" DEPEND="" src_unpack() { unpack "${P}.tar.gz" cd "${S}" } src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README }