sci-geosciences/gdal-grass: version bump bug #563688,add wraeth to maintainers. By...
authorAmy Winston <amynka@gentoo.org>
Wed, 21 Oct 2015 15:28:36 +0000 (17:28 +0200)
committerAmy Winston <amynka@gentoo.org>
Wed, 21 Oct 2015 15:29:53 +0000 (17:29 +0200)
Package-Manager: portage-2.2.20.1

sci-geosciences/gdal-grass/Manifest
sci-geosciences/gdal-grass/gdal-grass-2.0.0.ebuild [new file with mode: 0644]
sci-geosciences/gdal-grass/metadata.xml

index 6056c17d441776d65498c6cf8071342f156a8c21..3d79fa2898f964e0b89ec86605c0eb72d87908a9 100644 (file)
@@ -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 (file)
index 0000000..b36f1f9
--- /dev/null
@@ -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
index 0fcb66048e40ab3cef86a441b10bc634cddc51c8..152a2cd2fe5d04ea4de98063b7a63da6bcb94f8c 100644 (file)
@@ -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>