diff options
-rw-r--r-- | var/spack/repos/builtin/packages/gdal/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/libgta/package.py | 20 |
2 files changed, 21 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py index 5db5883f65..36f86d2eef 100644 --- a/var/spack/repos/builtin/packages/gdal/package.py +++ b/var/spack/repos/builtin/packages/gdal/package.py @@ -240,7 +240,7 @@ class Gdal(CMakePackage): depends_on("giflib", when="+gif") depends_on("grass@5.7:", when="+grass") depends_on("grib-api", when="+grib") - # depends_on('gta', when='+gta') + depends_on("libgta", when="+gta") depends_on("libheif@1.1:", when="+heif") depends_on("hdf", when="+hdf4") depends_on("hdf5+cxx", when="+hdf5") @@ -361,7 +361,6 @@ class Gdal(CMakePackage): conflicts("+epsilon") conflicts("+filegdb") conflicts("+fme") - conflicts("+gta") conflicts("+idb") conflicts("+ingres") conflicts("+kdu") diff --git a/var/spack/repos/builtin/packages/libgta/package.py b/var/spack/repos/builtin/packages/libgta/package.py new file mode 100644 index 0000000000..3e24a988af --- /dev/null +++ b/var/spack/repos/builtin/packages/libgta/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Libgta(CMakePackage): + """Library that reads and writes Generic Tagged Arrays (GTA) files.""" + + homepage = "https://marlam.de/gta/" + url = "https://marlam.de/gta/releases/libgta-1.2.1.tar.xz" + + version("1.2.1", sha256="d445667e145f755f0bc34ac89b63a6bfdce1eea943f87ee7a3f23dc0dcede8b1") + + depends_on("cmake@3.5:", type="build") + + def cmake_args(self): + return [self.define("GTA_BUILD_DOCUMENTATION", False)] |