diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-26 00:33:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 11:33:51 -0500 |
commit | 421f4e12a79a4ad2361970c285ed896a476e8bbf (patch) | |
tree | 877eb5d89c59a72d151740614350f25b0c478d04 /var | |
parent | 7bf0ebc5eb79d901cef43501610efb94d97f5872 (diff) | |
download | spack-421f4e12a79a4ad2361970c285ed896a476e8bbf.tar.gz spack-421f4e12a79a4ad2361970c285ed896a476e8bbf.tar.bz2 spack-421f4e12a79a4ad2361970c285ed896a476e8bbf.tar.xz spack-421f4e12a79a4ad2361970c285ed896a476e8bbf.zip |
Add new package: 3proxy (#18831)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/3proxy/package.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/3proxy/package.py b/var/spack/repos/builtin/packages/3proxy/package.py new file mode 100644 index 0000000000..abad7756c1 --- /dev/null +++ b/var/spack/repos/builtin/packages/3proxy/package.py @@ -0,0 +1,30 @@ +# Copyright 2013-2020 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 * +import platform + + +class _3proxy(MakefilePackage): + """3proxy - tiny free proxy server""" + + homepage = "https://3proxy.org" + url = "https://github.com/z3APA3A/3proxy/archive/0.8.13.tar.gz" + + version('0.8.13', sha256='a6d3cf9dd264315fa6ec848f6fe6c9057db005ce4ca8ed1deb00f6e1c3900f88') + version('0.8.12', sha256='c2ad3798b4f0df06cfcc7b49f658304e451d60e4834e2705ef83ddb85a03f849') + version('0.8.11', sha256='fc4295e1a462baa61977fcc21747db7861c4e3d0dcca86cbaa3e06017e5c66c9') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + + def build(self, spec, prefix): + make('-f', 'Makefile.{0}'.format(platform.system())) + + def install(self, spec, prefix): + make('-f', 'Makefile.{0}'.format(platform.system()), + 'prefix={0}'.format(prefix), 'install') |