libgta: add new package (#31981)
This commit is contained in:
parent
5d6ab9a76c
commit
47b1138ef2
@ -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")
|
||||
|
20
var/spack/repos/builtin/packages/libgta/package.py
Normal file
20
var/spack/repos/builtin/packages/libgta/package.py
Normal file
@ -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)]
|
Loading…
Reference in New Issue
Block a user