
There hasn't been a release in almost a decade, and build failures with GCC 14 were reported. I don't think it makes sense to patch it, since the project moved over to `util-linux`, and Spack's default provider is that package. Better to just get rid of it in the next Spack release.
42 lines
1.4 KiB
Python
42 lines
1.4 KiB
Python
# Copyright 2013-2024 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 Kentutils(MakefilePackage):
|
|
"""Jim Kent command line bioinformatic utilities"""
|
|
|
|
homepage = "https://genome.cse.ucsc.edu/"
|
|
url = "https://hgdownload.cse.ucsc.edu/admin/exe/userApps.archive/userApps.v453.src.tgz"
|
|
|
|
version("459", sha256="0b6e89a183e6385c713cf010a7aeead9da6626d8d2f78c363a4f1bc56ccccebb")
|
|
# The above archive only goes back to v305. v302 is left for now but deprecated. Suggest
|
|
# this is dropped on next update (v302 is from 2014!) and the `requires()` removed.
|
|
version(
|
|
"302.1",
|
|
commit="d8376c5d52a161f2267346ed3dc94b5dce74c2f9",
|
|
git="https://github.com/ENCODE-DCC/kentUtils.git",
|
|
deprecated=True,
|
|
)
|
|
|
|
depends_on("libpng")
|
|
depends_on("openssl")
|
|
depends_on("uuid")
|
|
depends_on("mariadb")
|
|
depends_on("zlib-api")
|
|
depends_on("freetype")
|
|
depends_on("libiconv")
|
|
|
|
requires("%gcc", when="@302.1")
|
|
|
|
def flag_handler(self, name, flags):
|
|
if name == "ldflags":
|
|
flags.append(f'{self.spec["libiconv"].libs.ld_flags}')
|
|
return (flags, None, None)
|
|
|
|
def install(self, spec, prefix):
|
|
install_tree("bin", prefix.bin)
|