diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-25 00:39:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 11:39:41 -0500 |
commit | af162498f06891bb1dbae429ecb5327abdac494e (patch) | |
tree | 3000fc161a29a5dc580103fea1d8c3dd18db632b /var | |
parent | b01aea2cec88e93f1fd96db5ac8bf75c4afcaeb9 (diff) | |
download | spack-af162498f06891bb1dbae429ecb5327abdac494e.tar.gz spack-af162498f06891bb1dbae429ecb5327abdac494e.tar.bz2 spack-af162498f06891bb1dbae429ecb5327abdac494e.tar.xz spack-af162498f06891bb1dbae429ecb5327abdac494e.zip |
Add new package: geoip (#18927)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/geoip/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/geoip/package.py b/var/spack/repos/builtin/packages/geoip/package.py new file mode 100644 index 0000000000..1ef5660870 --- /dev/null +++ b/var/spack/repos/builtin/packages/geoip/package.py @@ -0,0 +1,18 @@ +# 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 Geoip(AutotoolsPackage): + """Library for country/city/organization to IP address + or hostname mapping.""" + + homepage = "http://www.maxmind.com/app/c" + url = "https://github.com/maxmind/geoip-api-c/releases/download/v1.6.12/GeoIP-1.6.12.tar.gz" + + version('1.6.12', sha256='1dfb748003c5e4b7fd56ba8c4cd786633d5d6f409547584f6910398389636f80') + version('1.6.11', sha256='b0e5a92200b5ab540d118983f7b7191caf4faf1ae879c44afa3ff2a2abcdb0f5') + version('1.6.10', sha256='cb44e0d0dbc45efe2e399e695864e58237ce00026fba8a74b31d85888c89c67a') |