diff options
author | George Shapovalov <george@gentoo.org> | 2003-02-07 04:40:47 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-02-07 04:40:47 +0000 |
commit | 14b8045c9c190ae730f4bd1c7ff72476f5460991 (patch) | |
tree | 453539643a6811b1fe0f7e208a16f8bed90e0856 /app-sci | |
parent | version bump (diff) | |
download | gentoo-2-14b8045c9c190ae730f4bd1c7ff72476f5460991.tar.gz gentoo-2-14b8045c9c190ae730f4bd1c7ff72476f5460991.tar.bz2 gentoo-2-14b8045c9c190ae730f4bd1c7ff72476f5460991.zip |
Generic Mapping tool (new package, keymasked)
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/gmt/ChangeLog | 10 | ||||
-rw-r--r-- | app-sci/gmt/files/digest-gmt-3.4.2 | 8 | ||||
-rw-r--r-- | app-sci/gmt/gmt-3.4.2.ebuild | 78 |
3 files changed, 96 insertions, 0 deletions
diff --git a/app-sci/gmt/ChangeLog b/app-sci/gmt/ChangeLog new file mode 100644 index 000000000000..907acc4e3f96 --- /dev/null +++ b/app-sci/gmt/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-sci/gmt +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/ChangeLog,v 1.1 2003/02/07 04:40:47 george Exp $ + +*gmt-3.4.2.ebuild (06 Feb 2003) + + 06 Feb 2003; George Shapovalov <george@gentoo.org> ChangeLog, gmt-3.4.2.ebuild, files/digest-gmt-3.4.2 : + initial release (#10956) + Powerfull map generator + ebuild submitted by Castel?o <castelao@oceanologia.net> diff --git a/app-sci/gmt/files/digest-gmt-3.4.2 b/app-sci/gmt/files/digest-gmt-3.4.2 new file mode 100644 index 000000000000..0d9ea916de60 --- /dev/null +++ b/app-sci/gmt/files/digest-gmt-3.4.2 @@ -0,0 +1,8 @@ +MD5 d9e030f2026e2250ffe7d492532a0534 GMT3.4.2_progs.tar.bz2 558445 +MD5 7375498ea9894255e753bd377ef6eafb GMT_share.tar.bz2 3662062 +MD5 8c655de00e7623d15ddf56a01f5ed57a GMT3.4.2_man.tar.bz2 86208 +MD5 98d883031fdbac8fdb21a3e4a7c826ad GMT3.4.2_tut.tar.bz2 986409 +MD5 1a682cc0e292091471704a34ae4e466d GMT3.4.2_scripts.tar.bz2 3051543 +MD5 37c248ae684894ed52f56c6c6b0754bd GMT3.4.2_pdf.tar.bz2 6870851 +MD5 6f7d5721167e037b03c2bed9f4bb8725 GMT_full.tar.bz2 28789894 +MD5 63217a3ca2ebcf3b918f085651a91e12 GMT_high.tar.bz2 8641460 diff --git a/app-sci/gmt/gmt-3.4.2.ebuild b/app-sci/gmt/gmt-3.4.2.ebuild new file mode 100644 index 000000000000..94c9245a5d8d --- /dev/null +++ b/app-sci/gmt/gmt-3.4.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/gmt/gmt-3.4.2.ebuild,v 1.1 2003/02/07 04:40:47 george Exp $ + +#NOTE: To build a light GMT you could compile without some resources like: HIGH and FULL data base resolution and PDF documentation. For so, use something like export NO_FULL="YES"; export NO_HIGH="YES"; export NO_PDF="YES"; ... + +DESCRIPTION="Powerfull map generator" + +HOMEPAGE="http://gmt.soest.hawaii.edu/" + +SRC_URI="ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_progs.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_share.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_man.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_tut.tar.bz2 + ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_scripts.tar.bz2" + +#Without PDF documentation +if [ "${NO_PDF}" != "YES" ] | [ "${NO_PDF}" != "yes" ] + then + SRC_URI="${SRC_URI} ftp://gmt.soest.hawaii.edu/pub/gmt/GMT${PV}_pdf.tar.bz2" +fi +#Without FULL data base resolution +if [ "${NO_FULL}" != "YES" ] | [ "${NO_FULL}" != "yes" ] + then + SRC_URI="${SRC_URI} ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_full.tar.bz2" +fi +#Without HIGH data base resolution +if [ "${NO_HIGH}" != "YES" ] | [ "${NO_HIGH}" != "yes" ] + then + SRC_URI="${SRC_URI} ftp://gmt.soest.hawaii.edu/pub/gmt/GMT_high.tar.bz2" +fi + + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +#Need to include gcc and bzip?? +DEPEND=">=app-sci/netcdf-3.5.0" + +#RDEPEND="" + +S="${WORKDIR}/GMT${PV}" + +src_unpack() { + unpack ${A} || die + mv ${WORKDIR}/share/* ${S}/share/ || die +} + +src_compile() { + export NETCDFHOME="/usr/lib" + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --libdir=/usr/lib/gmt-${PV} \ + --includedir=/usr/include/gmt-${PV} \ + --mandir=/usr/man \ + --datadir=/usr/share/gmt-${PV} \ + || die "configure failed" + + make all || die +} + +src_install() { + + make \ + prefix=${D}/usr \ + bindir=${D}/usr/bin \ + libdir=${D}/usr/lib/gmt-${PV} \ + includedir=${D}/usr/include/gmt-${PV} \ + mandir=${D}/usr/man \ + datadir=${D}/usr/share/gmt-${PV} \ + install install-data install-man \ + || die "install failed" + +} |