summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libxres/package.py
blob: 4e2aef0245e439486763973b568774d7dd32cd36 (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
# 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 Libxres(AutotoolsPackage, XorgPackage):
    """libXRes - X-Resource extension client library."""

    homepage = "https://cgit.freedesktop.org/xorg/lib/libXRes"
    xorg_mirror_path = "lib/libXres-1.0.7.tar.gz"

    license("custom")

    version("1.0.7", sha256="488c9fa14b38f794d1f019fe62e6b06514a39f1a7538e55ece8faf22482fefcd")

    depends_on("libx11")
    depends_on("libxext")

    depends_on("xextproto")
    depends_on("resourceproto@1.0:")
    depends_on("pkgconfig", type="build")
    depends_on("util-macros", type="build")