summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2015-10-21 17:28:36 +0200
committerAmy Winston <amynka@gentoo.org>2015-10-21 17:29:53 +0200
commitbaa266da685b6e09e799ccacff934b3dd876d91e (patch)
tree9a55693e993b130af4eb4e2a19663c5aa563ec0b /sci-geosciences/gdal-grass
parentdev-python/openpyxl: Version Bump (diff)
downloadgentoo-baa266da685b6e09e799ccacff934b3dd876d91e.tar.gz
gentoo-baa266da685b6e09e799ccacff934b3dd876d91e.tar.bz2
gentoo-baa266da685b6e09e799ccacff934b3dd876d91e.zip
sci-geosciences/gdal-grass: version bump bug #563688,add wraeth to maintainers. By wraeth.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-geosciences/gdal-grass')
-rw-r--r--sci-geosciences/gdal-grass/Manifest1
-rw-r--r--sci-geosciences/gdal-grass/gdal-grass-2.0.0.ebuild51
-rw-r--r--sci-geosciences/gdal-grass/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gdal-grass/Manifest b/sci-geosciences/gdal-grass/Manifest
index 6056c17d4417..3d79fa2898f9 100644
--- a/sci-geosciences/gdal-grass/Manifest
+++ b/sci-geosciences/gdal-grass/Manifest
@@ -1 +1,2 @@
DIST gdal-grass-1.4.3.tar.gz 47527 SHA256 ea18d1e773e8875aaf3261a6ccd2a5fa22d998f064196399dfe73d991688f1dd SHA512 641b407fed045b943be33a0fe9f699628a1b84349accf8128641f96c8f0f46b675106a9772d40bf63a2f81cdf01ed67869b3333ab0966fc88021c512dc531307 WHIRLPOOL c37424a15b8796dee5226c086b84eba9dbdfb380fc035297cedc665182037c33f4f032c4f95b032d187d76804540f960eaf909d06cf1360e04c78f1fe85cea1d
+DIST gdal-grass-2.0.0.tar.gz 56286 SHA256 e05b4bedb67d624b86b84fc23a680fc408c6c3444dc94555f6f6febc3c506e69 SHA512 cefa60773c2acd5c1627b896e3298d02f51979c12f70ce67b88c0b886a13de2f62821a3d3e50984f5c676ef37819c685795949b06db57004a0edf8039e898d7e WHIRLPOOL c6c0bf3a06388188a173c14f6f8f4cbe295f849c5950c68f413a357fb4efaf2ddb5a78ea4ced7bd4b6786c979299b7dc5754196ee68ee87a31962f578599a90a
diff --git a/sci-geosciences/gdal-grass/gdal-grass-2.0.0.ebuild b/sci-geosciences/gdal-grass/gdal-grass-2.0.0.ebuild
new file mode 100644
index 000000000000..b36f1f9b46f9
--- /dev/null
+++ b/sci-geosciences/gdal-grass/gdal-grass-2.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="GDAL plugin to access GRASS data"
+HOMEPAGE="http://www.gdal.org/"
+SRC_URI="http://download.osgeo.org/gdal/${PV}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="postgres"
+
+RDEPEND="
+ >=sci-libs/gdal-2.0.0
+ >=sci-geosciences/grass-7.0.1[gdal]
+"
+DEPEND="${RDEPEND}
+ dev-libs/expat
+ dev-libs/json-c
+ virtual/jpeg
+ media-libs/tiff
+ sci-libs/libgeotiff
+ sci-libs/proj
+ sys-libs/zlib
+ postgres? ( dev-db/postgresql )"
+
+src_prepare() {
+ # fix mkdir not called with -p in Makefile
+ epatch "${FILESDIR}/gdal-grass-makefile.patch"
+}
+
+src_configure() {
+ econf \
+ --with-grass="${ROOT}/usr/$(get_libdir)/grass70" \
+ --with-gdal="${ROOT}/usr/bin/gdal-config" \
+ $(use_with postgres postgres-includes "${ROOT}/usr/include/postgresql")
+}
+
+src_install() {
+ #pass the right variables to 'make install' to prevent a sandbox access violation
+ emake DESTDIR="${D}" \
+ GRASSTABLES_DIR="${D}$(gdal-config --prefix)/share/gdal/grass" \
+ AUTOLOAD_DIR="${D}/usr/$(get_libdir)/gdalplugins" \
+ install
+} \ No newline at end of file
diff --git a/sci-geosciences/gdal-grass/metadata.xml b/sci-geosciences/gdal-grass/metadata.xml
index 0fcb66048e40..152a2cd2fe5d 100644
--- a/sci-geosciences/gdal-grass/metadata.xml
+++ b/sci-geosciences/gdal-grass/metadata.xml
@@ -2,5 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-geosciences</herd>
+<herd>proxy-maintainers</herd><maintainer>
+ <email>wraeth@wraeth.id.au</email>
+ <name>Sam Jorna</name>
+ <description>Proxy maintainer - assign bugs to him</description>
+ </maintainer>
+ <use>
+ <flag name="postgres">Include support for <pkg>dev-db/postgresql</pkg></flag>
+ </use>
</pkgmetadata>