diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-04-08 15:04:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 09:04:01 +0200 |
commit | 62cc8158defbe14d02dd613a288c75bebe2c72a0 (patch) | |
tree | d255df6a3c3d8cdbf5c78911c61ec180782b4962 /var | |
parent | 4031e9a2a794005adc96dd2c03e8ba2f2f3a0edf (diff) | |
download | spack-62cc8158defbe14d02dd613a288c75bebe2c72a0.tar.gz spack-62cc8158defbe14d02dd613a288c75bebe2c72a0.tar.bz2 spack-62cc8158defbe14d02dd613a288c75bebe2c72a0.tar.xz spack-62cc8158defbe14d02dd613a288c75bebe2c72a0.zip |
http-parser: added package at v2.9.4 (#15936)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/http-parser/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/http-parser/package.py b/var/spack/repos/builtin/packages/http-parser/package.py new file mode 100644 index 0000000000..552b7d2cbb --- /dev/null +++ b/var/spack/repos/builtin/packages/http-parser/package.py @@ -0,0 +1,21 @@ +# 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 * + + +class HttpParser(MakefilePackage): + """http request/response parser for c""" + + homepage = "https://github.com/nodejs/http-parser" + url = "https://github.com/nodejs/http-parser/archive/v2.9.4.tar.gz" + + version('2.9.4', sha256='467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f') + version('2.9.3', sha256='8fa0ab8770fd8425a9b431fdbf91623c4d7a9cdb842b9339289bd2b0b01b0d3d') + version('2.9.2', sha256='5199500e352584852c95c13423edc5f0cb329297c81dd69c3c8f52a75496da08') + version('2.9.1', sha256='33220771208bcacecd970b6de03bebe239374a8e9cf3baeda79b4f3920bede21') + + def install(self, spec, prefix): + make('install', "DESTDIR=%s" % prefix, "PREFIX=") |