summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/httpress/package.py
blob: b031355765740402cd875d1b0d0b6bc5425d95e9 (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
# 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 Httpress(MakefilePackage):
    """High performance HTTP server stress & benchmark utility."""

    homepage = "https://bitbucket.org/yarosla/httpress/wiki/Home"
    hg = "https://bitbucket.org/yarosla/httpress"

    version("develop")
    version("1.1.0", revision="1.1.0")

    depends_on("mercurial", type="build")
    depends_on("libev")
    depends_on("gnutls")

    def install(self, spec, prefix):
        install_tree("./bin/Release", prefix.bin)
        install_tree("./obj/Release", prefix.obj)