blob: 8072fd34039549483e7126d9f525995f41c149c4 (
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 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")
def build(self, spec, prefix):
make("CC={0}".format(spack_cc))
def install(self, spec, prefix):
mkdir(prefix.bin)
install("connect", prefix.bin)
|