summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Forest <vladimir@gentoo.org>2003-04-12 00:52:08 +0000
committerGraham Forest <vladimir@gentoo.org>2003-04-12 00:52:08 +0000
commitd594e59349e114cd9095935f56bf2c94faa0da0c (patch)
tree47149dbd667369fcceef29e0192691172eac5044 /app-misc/grass
parent-ppc'd until >=sys-devel/binutils-2.13.90.0.20 is ok on ppc (diff)
downloadgentoo-2-d594e59349e114cd9095935f56bf2c94faa0da0c.tar.gz
gentoo-2-d594e59349e114cd9095935f56bf2c94faa0da0c.tar.bz2
gentoo-2-d594e59349e114cd9095935f56bf2c94faa0da0c.zip
Initial import
Diffstat (limited to 'app-misc/grass')
-rw-r--r--app-misc/grass/ChangeLog10
-rw-r--r--app-misc/grass/grass-5.0.1.ebuild93
2 files changed, 103 insertions, 0 deletions
diff --git a/app-misc/grass/ChangeLog b/app-misc/grass/ChangeLog
new file mode 100644
index 000000000000..57c02f18535c
--- /dev/null
+++ b/app-misc/grass/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/grass
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/ChangeLog,v 1.1 2003/04/12 00:52:08 vladimir Exp $
+
+*grass-5.0.1 (11 Apr 2003)
+
+ 11 Apr 2003; Graham Forest <vladimir@gentoo.org> grass-5.0.1.ebuild:
+ Initial import, ebuild submitted by both Andy Romeril <aromeril@attbi.com>,
+ and Doug Gorley <douggorley@shaw.ca>
+
diff --git a/app-misc/grass/grass-5.0.1.ebuild b/app-misc/grass/grass-5.0.1.ebuild
new file mode 100644
index 000000000000..e7e17afdb7fb
--- /dev/null
+++ b/app-misc/grass/grass-5.0.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/grass/grass-5.0.1.ebuild,v 1.1 2003/04/12 00:52:08 vladimir Exp $
+
+DESCRIPTION="An open-source GIS with raster and vector functionality."
+HOMEPAGE="http://grass.baylor.edu/"
+SRC_URI="http://grass.baylor.edu/grass5/source/${P}_src.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="tcltk png jpeg tiff postgres odbc gd motif truetype"
+
+DEPEND=">=sys-devel/make-3.80
+ >=sys-libs/zlib-1.1.4
+ >=sys-devel/flex-2.5.4a
+ >=sys-devel/bison-1.35
+ >=sys-libs/ncurses-5.3
+ >=x11-base/xfree-4.2.1
+ >=sys-libs/gdbm-1.8.0
+ >=sys-devel/gcc-3.2.2
+ >=dev-libs/fftw-2.1.3
+ >=app-sci/lapack-3.0
+ >=app-sci/blas-19980702
+ >=media-libs/netpbm-9.12
+ >=dev-lang/R-1.6.1
+ tcltk? ( >=dev-lang/tcl-8.3.4
+ >=dev-lang/tk-8.3.4 )
+ png? ( >=media-libs/libpng-1.2.5 )
+ jpeg? ( >=media-libs/jpeg-6b )
+ tiff? ( >=media-libs/tiff-3.5.7 )
+ postgres? ( >=dev-db/postgresql-7.3.2 )
+ odbc? ( >=dev-db/unixODBC-2.0.6 )
+ gd? ( >=media-libs/libgd-1.8.3 )
+ motif? ( >=x11-libs/lesstif-0.93.36 )
+ truetype? ( >=media-libs/freetype-2.1.3 )"
+
+S=${WORKDIR}/grass5.0.1
+
+src_compile() {
+
+ local myconf="--with-blas --with-lapack"
+
+ use tcltk \
+ && myconf="${myconf} --with-tcltk" \
+ || myconf="${myconf} --without-tcltk"
+
+ use png \
+ && myconf="${myconf} --with-png" \
+ || myconf="${myconf} --without-png"
+
+ use jpeg \
+ && myconf="${myconf} --with-jpeg" \
+ || myconf="${myconf} --without-jpeg"
+
+ use tiff \
+ && myconf="${myconf} --with-tiff" \
+ || myconf="${myconf} --without-tiff"
+
+ use odbc \
+ && myconf="${myconf} --with-odbc" \
+ || myconf="${myconf} --without-odbc"
+
+ use gd \
+ && myconf="${myconf} --with-gd" \
+ || myconf="${myconf} --without-gd"
+
+ use postgres \
+ && myconf="${myconf} --with-postgres --with-postgres-includes=/usr/include/postgresql/server" \
+ || myconf="${myconf} --without-postgres"
+
+ use motif \
+ && myconf="${myconf} --with-motif" \
+ || myconf="${myconf} --without-motif"
+
+ use truetype \
+ && myconf="${myconf} --with-freetype" \
+ || myconf="${myconf} --without-freetype"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=${D}/usr/local \
+ --infodir=/usr/local/share/info \
+ --mandir=/usr/local/share/man \
+ ${myconf} || die "./configure failed"
+ make || die
+}
+
+src_install() {
+ make install || die
+ dosed "s:^GISBASE=.*$:GISBASE=/usr/local/grass5:" \
+ /usr/local/bin/grass5
+}