diff options
Diffstat (limited to 'sci-geosciences/gdal-grass')
-rw-r--r-- | sci-geosciences/gdal-grass/Manifest | 7 | ||||
-rw-r--r-- | sci-geosciences/gdal-grass/gdal-grass-2.0.0-r1.ebuild | 53 | ||||
-rw-r--r-- | sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild | 53 | ||||
-rw-r--r-- | sci-geosciences/gdal-grass/metadata.xml | 15 |
4 files changed, 128 insertions, 0 deletions
diff --git a/sci-geosciences/gdal-grass/Manifest b/sci-geosciences/gdal-grass/Manifest new file mode 100644 index 000000000000..134e71c5e698 --- /dev/null +++ b/sci-geosciences/gdal-grass/Manifest @@ -0,0 +1,7 @@ +DIST gdal-grass-2.0.0.tar.gz 56286 SHA256 e05b4bedb67d624b86b84fc23a680fc408c6c3444dc94555f6f6febc3c506e69 SHA512 cefa60773c2acd5c1627b896e3298d02f51979c12f70ce67b88c0b886a13de2f62821a3d3e50984f5c676ef37819c685795949b06db57004a0edf8039e898d7e WHIRLPOOL c6c0bf3a06388188a173c14f6f8f4cbe295f849c5950c68f413a357fb4efaf2ddb5a78ea4ced7bd4b6786c979299b7dc5754196ee68ee87a31962f578599a90a +DIST gdal-grass-2.1.0.tar.gz 54299 SHA256 1faa5d244ebcb5295cab7814c661ba1dee72b27c0e3848677e34b0c97c8111d0 SHA512 fb06b71839849de413f68beb8f2cd1c2273cc48b5205fe1b255ffc4976f8f913b4b226eba186a24f5b40fe5fbb1ceeab760d06915222e4a4b269a6fbc7bc9417 WHIRLPOOL 661b45ed7292a5d43bcf5b483c0d93edc42c7cd55281ef53331fc2690a36d527736c3fcf15a63b4e5f71e2987f9612ad70f2665650b67eff8e4316f39dfcaf7c +EBUILD gdal-grass-2.0.0-r1.ebuild 1243 SHA256 4a0fd98ae077d300e2ef3e9c775d415cd42d5270e45fdb988097b47cb4bd666f SHA512 0bc907a202bd935f4e5291feb6e64dbdda086f0dd9150b778675b64e3f6e1025e9ff8e9904a5dc581a7a638a390e1d1a98cf74092c94962d3fa445c2467dff44 WHIRLPOOL 9ecf1be14cc567c3df5d61336dd73bdff2412a4a27829ad325f3589a1898e810c1eb26b9ca3d36219f9ec2cd8fcd09fbe3be453a58ae440168e2fe1bb7bb1c9a +EBUILD gdal-grass-2.1.0.ebuild 1243 SHA256 4a0fd98ae077d300e2ef3e9c775d415cd42d5270e45fdb988097b47cb4bd666f SHA512 0bc907a202bd935f4e5291feb6e64dbdda086f0dd9150b778675b64e3f6e1025e9ff8e9904a5dc581a7a638a390e1d1a98cf74092c94962d3fa445c2467dff44 WHIRLPOOL 9ecf1be14cc567c3df5d61336dd73bdff2412a4a27829ad325f3589a1898e810c1eb26b9ca3d36219f9ec2cd8fcd09fbe3be453a58ae440168e2fe1bb7bb1c9a +MISC ChangeLog 3956 SHA256 c0fb2aa8073fb6047a1daaf576a3cf192d40b9c0209d5f3a563a142daeab258a SHA512 95bfc7233f92b0c9b5e2653ae6f3357d981c314de0ea917adf60873fb42dd9bd1eeb8a459bbdeb47cd7faece72be1e2cc8095405115036dfb75e5bb520bc8b66 WHIRLPOOL 24f5985bca07a77816b9a8c4e211bb411005d959276a1aff5f59b425fd339f888f8fd02d2f10d93907518a7acb8fe4f0c168c66d510942761749040ef5b507ba +MISC ChangeLog-2015 1302 SHA256 e8bbf5064a5bc4c226e43c5126f7c318d76ea9a79e7d178267185b068464cb48 SHA512 92a8224ed65b37b9867d3e7a7a81eb7885ec8e864434d813ef45d169b5329077ad0f426c76b91dec9995a2abe583f3f19435a632719b0bf15b3763f6b6023baa WHIRLPOOL fca0bcb0c5e8d507938afdb2d3a30c5b7491dc192004503fde027db3a5d6efb0f6156b0a377821b5c64bbfbda4c0c1a81cbac940743f2cc6c41e19978c23dbca +MISC metadata.xml 483 SHA256 eacac4c0fa07cfd6ea989f9ae646fd38a032981f58344696035142c14ffb1f9a SHA512 83e82a4e02986964a80b60fed33ac6828d7be430ac7296ddcfec13fc1e867b77d18a30f4e9043e335a80140fc358711ca289265ed20b603d9b6a9af74157dd62 WHIRLPOOL 3be38fc22bceecb978a9885d5c12e13e400b024abcbc1a37c87a819616829d70b86794c3835ad51e3d78416b384dd87b9f28c7f59006c5eb30bb9cd01cfc77fe diff --git a/sci-geosciences/gdal-grass/gdal-grass-2.0.0-r1.ebuild b/sci-geosciences/gdal-grass/gdal-grass-2.0.0-r1.ebuild new file mode 100644 index 000000000000..15f158c06f4f --- /dev/null +++ b/sci-geosciences/gdal-grass/gdal-grass-2.0.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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:0= +" +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 )" + +# these drivers are copied at install from the already installed GRASS +QA_PREBUILT="/usr/share/gdal/grass/driver/db/*" + +src_prepare() { + sed -e 's:mkdir ${GRASSTABLES_DIR}$:mkdir -p ${GRASSTABLES_DIR}:' \ + -i Makefile.in || die + default +} + +src_configure() { + econf \ + --with-grass="/usr/$(get_libdir)/grass70" \ + --with-gdal="/usr/bin/gdal-config" \ + $(use_with postgres postgres-includes "/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 +} diff --git a/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild b/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild new file mode 100644 index 000000000000..15f158c06f4f --- /dev/null +++ b/sci-geosciences/gdal-grass/gdal-grass-2.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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:0= +" +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 )" + +# these drivers are copied at install from the already installed GRASS +QA_PREBUILT="/usr/share/gdal/grass/driver/db/*" + +src_prepare() { + sed -e 's:mkdir ${GRASSTABLES_DIR}$:mkdir -p ${GRASSTABLES_DIR}:' \ + -i Makefile.in || die + default +} + +src_configure() { + econf \ + --with-grass="/usr/$(get_libdir)/grass70" \ + --with-gdal="/usr/bin/gdal-config" \ + $(use_with postgres postgres-includes "/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 +} diff --git a/sci-geosciences/gdal-grass/metadata.xml b/sci-geosciences/gdal-grass/metadata.xml new file mode 100644 index 000000000000..927df4a9049c --- /dev/null +++ b/sci-geosciences/gdal-grass/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wraeth@gentoo.org</email> + <name>Sam Jorna</name> + </maintainer> + <maintainer type="project"> + <email>sci-geosciences@gentoo.org</email> + <name>Gentoo Geosciences Project</name> + </maintainer> + <use> + <flag name="postgres">Include support for <pkg>dev-db/postgresql</pkg></flag> + </use> +</pkgmetadata> |