summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/xclip/package.py
blob: aa0d3d311be94254843d1c1bc0a7aba50a3a5836 (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
27
28
29
# 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 Xclip(AutotoolsPackage):
    """xclip is a command line utility that is designed to run on any system
    with an X11 implementation. It provides an interface to X selections
    ("the clipboard") from the command line. It can read data from standard
    in or a file and place it in an X selection for pasting into other X
    applications. xclip can also print an X selection to standard out,
    which can then be redirected to a file or another program."""

    homepage = "https://github.com/astrand/xclip"
    git = "https://github.com/astrand/xclip.git"

    license("GPL-2.0-or-later")

    version("0.13", commit="9aa7090c3b8b437c6489edca32ae43d82e0c1281")

    depends_on("libxmu")
    depends_on("libx11")
    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")
    depends_on("m4", type="build")