mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-geosciences/gdal-grass: Remove last-rited pkg
Closes: https://bugs.gentoo.org/735458 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -676,7 +676,6 @@ net-libs/openpgm
|
||||
<net-mail/mailman-3
|
||||
net-wireless/chirp
|
||||
net-wireless/rfcat
|
||||
sci-geosciences/gdal-grass
|
||||
sci-geosciences/grass
|
||||
|
||||
# Alfredo Tupone <tupone@gentoo.org> (2020-08-16)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST gdal-grass-2.1.3.tar.gz 54478 BLAKE2B 172200d8362b12583f0f73316b8c6d34875682c9d76c095745152c8d4fd1da1d9d1e94df5928225f6fda5712e987379c7c3192fa81d02b9cee9145fb577faee1 SHA512 c11776f92e591f1c0136e439ab6c672015171c5b750cb9332c73b49b3173c1d57efb4854b152a1d8e1b438c68a1130b4a46a189e1be0b99af9a8fb931f246e39
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="GDAL plugin to access GRASS data"
|
||||
HOMEPAGE="https://www.gdal.org/"
|
||||
SRC_URI="https://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:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
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() {
|
||||
local grassp=$(best_version sci-geosciences/grass)
|
||||
local grasspv=$(echo ${grassp/%-r[0-9]*/} | rev | cut -d - -f 1 | rev)
|
||||
local grasspm=$(ver_cut 1-2 ${grasspv})
|
||||
local myeconfargs=(
|
||||
--with-grass="/usr/$(get_libdir)/grass$(ver_rs 1 '' ${grasspm})"
|
||||
--with-gdal="/usr/bin/gdal-config"
|
||||
$(use_with postgres postgres-includes "/usr/include/postgresql")
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<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>
|
||||
Reference in New Issue
Block a user