blob: c085899f6fd10d26c914917fd32ce17cea52c403 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 2013-2023 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 Crunch(CMakePackage):
"""Advanced DXTc texture compression and transcoding library."""
homepage = "https://github.com/BinomialLLC/crunch"
# The original repo does not have any build system or installation instructions. This package
# was added primarily as a possible dependency of GDAL. The following fork was created by the
# maintainer of GDAL and includes several additional commits to add a CMake build system and
# fix compilation bugs. If these commits are ever merged into upstream, we can switch to that.
git = "https://github.com/rouault/crunch.git"
license("Zlib")
# No stable releases since 2012
version("master", branch="build_fixes")
depends_on("cmake@3.5:", type="build")
conflicts("platform=darwin")
|