summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/connect-proxy/package.py
blob: b340ccc840942dfbc34699502957efbeb2260e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2019 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 import *


class ConnectProxy(MakefilePackage):
    """`connect.c` is a simple relaying command to make network connection
    via SOCKS and https proxy"""

    homepage = "https://bitbucket.org/gotoh/connect"
    url      = "https://bitbucket.org/gotoh/connect/get/1.105.tar.bz2"

    version('1.105', '07366026b1f81044ecd8da9b5b5b51321327ecdf6ba23576271a311bbd69d403')

    def install(self, spec, prefix):
        mkdir(prefix.bin)
        install('connect', prefix.bin)