diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 13:20:31 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-29 13:20:31 +0000 |
commit | 7dc710b6b86de0a33051e72522da6d151fa28a91 (patch) | |
tree | aa66482efa633af807ca6e9092780b536c281f2c /app-misc/grass | |
parent | Version bumped. (diff) | |
download | historical-7dc710b6b86de0a33051e72522da6d151fa28a91.tar.gz historical-7dc710b6b86de0a33051e72522da6d151fa28a91.tar.bz2 historical-7dc710b6b86de0a33051e72522da6d151fa28a91.zip |
Version bumped.
Diffstat (limited to 'app-misc/grass')
-rw-r--r-- | app-misc/grass/Manifest | 4 | ||||
-rw-r--r-- | app-misc/grass/files/digest-grass-5.0.3 | 1 | ||||
-rw-r--r-- | app-misc/grass/grass-5.0.3.ebuild | 100 |
3 files changed, 103 insertions, 2 deletions
diff --git a/app-misc/grass/Manifest b/app-misc/grass/Manifest index 0b33f24fb6fe..50f4baaf420b 100644 --- a/app-misc/grass/Manifest +++ b/app-misc/grass/Manifest @@ -1,5 +1,5 @@ -MD5 a31daf2b1ea890e606f77b77f5671128 ChangeLog 1104 +MD5 2672494413f282afeeb9a92c6e035634 ChangeLog 1222 MD5 0f1612602aa7dd597e002a0435e43d9a grass-5.0.2.ebuild 2665 -MD5 0f1612602aa7dd597e002a0435e43d9a grass-5.0.3.ebuild 2665 +MD5 c6e6dfddab7359eda286751b2c3140b3 grass-5.0.3.ebuild 2667 MD5 bdf9112abfe51ff3b2cd0547318640df files/digest-grass-5.0.2 69 MD5 35189a7ae00c27bf54a1635a71d1f2c1 files/digest-grass-5.0.3 69 diff --git a/app-misc/grass/files/digest-grass-5.0.3 b/app-misc/grass/files/digest-grass-5.0.3 new file mode 100644 index 000000000000..e43e9f9dc5cc --- /dev/null +++ b/app-misc/grass/files/digest-grass-5.0.3 @@ -0,0 +1 @@ +MD5 8c1cca7f9f36dca671d0f753501f1f4f grass-5.0.3_src.tar.gz 17503696 diff --git a/app-misc/grass/grass-5.0.3.ebuild b/app-misc/grass/grass-5.0.3.ebuild new file mode 100644 index 000000000000..366449a3e2a5 --- /dev/null +++ b/app-misc/grass/grass-5.0.3.ebuild @@ -0,0 +1,100 @@ +# 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.3.ebuild,v 1.1 2003/12/29 13:20:20 mholzer Exp $ + +DESCRIPTION="An open-source GIS with raster and vector functionality." +HOMEPAGE="http://grass.baylor.edu/" +SRC_URI="http://grass.ibiblio.org/${PN}5/source/${P}_src.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="tcltk png jpeg tiff postgres odbc gd motif truetype" +# Removed cause mesa never goes stable. +# IUSE="${IUSE} nviz" + +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? ( virtual/motif ) + truetype? ( >=media-libs/freetype-2.1.3 )" + #nviz? ( >=media-libs/mesa-3.5 )" + +S=${WORKDIR}/${P/-/} + +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 --with-motif-includes=/usr/X11R6/include" \ + || myconf="${myconf} --without-motif" + + use truetype \ + && myconf="${myconf} --with-freetype --with-freetype-includes=/usr/include/freetype2" \ + || myconf="${myconf} --without-freetype" + + #use nviz \ + #&& myconf="${myconf} --with-glw" \ + #|| myconf="${myconf} --without-glw" + + ./configure \ + --host=${CHOST} \ + --prefix=${D}/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die "./configure failed" + make || die "make failed" +} + +src_install() { + make install || die + dosed "s:^GISBASE=.*$:GISBASE=/usr/grass5:" \ + /usr/bin/grass5 +} |