spack/var/spack/repos/builtin/packages/connect-proxy/package.py
Adam J. Stewart a3f4fd68d6
Packages: add missing compiler dependencies (#49920)
* Packages: add missing compiler dependencies

* Undo changes to cray-mpich
2025-04-07 09:42:54 -07:00

27 lines
881 B
Python

# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class ConnectProxy(MakefilePackage):
"""`connect.c` is a simple relaying command to make network connection
via SOCKS and https proxy. The original docs are https://bitbucket.org/gotoh/connect
are now 404, so the manpage is provided instead.
"""
homepage = "https://manpages.debian.org/testing/connect-proxy/connect-proxy.1.en.html"
url = "https://bitbucket.org/gotoh/connect/get/1.105.tar.bz2"
version("1.105", sha256="07366026b1f81044ecd8da9b5b5b51321327ecdf6ba23576271a311bbd69d403")
depends_on("c", type="build")
def build(self, spec, prefix):
make("CC={0}".format(spack_cc))
def install(self, spec, prefix):
mkdir(prefix.bin)
install("connect", prefix.bin)