summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-12 22:44:28 +0800
committerGitHub <noreply@github.com>2020-09-12 09:44:28 -0500
commit3211ac51360a45a46f0114947eccaf20f249c619 (patch)
treeb8b9129073c30a4d73ed28f59118a617e60cd349 /var
parentcde4654525888d5a02ce381f2aa73d9d39876aca (diff)
downloadspack-3211ac51360a45a46f0114947eccaf20f249c619.tar.gz
spack-3211ac51360a45a46f0114947eccaf20f249c619.tar.bz2
spack-3211ac51360a45a46f0114947eccaf20f249c619.tar.xz
spack-3211ac51360a45a46f0114947eccaf20f249c619.zip
Add new package: geoip-api-c (#18653)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/geoip-api-c/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/geoip-api-c/package.py b/var/spack/repos/builtin/packages/geoip-api-c/package.py
new file mode 100644
index 0000000000..9b0c355592
--- /dev/null
+++ b/var/spack/repos/builtin/packages/geoip-api-c/package.py
@@ -0,0 +1,23 @@
+# 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 GeoipApiC(AutotoolsPackage):
+ """The GeoIP Legacy C library enables the user to find geographical
+ and network information of an IP address."""
+
+ homepage = "https://github.com/maxmind/geoip-api-c"
+ url = "https://github.com/maxmind/geoip-api-c/archive/v1.6.12.tar.gz"
+
+ version('1.6.12', sha256='99b119f8e21e94f1dfd6d49fbeed29a70df1544896e76cd456f25e397b07d476')
+ version('1.6.11', sha256='b0e5a92200b5ab540d118983f7b7191caf4faf1ae879c44afa3ff2a2abcdb0f5')
+ version('1.6.10', sha256='cb44e0d0dbc45efe2e399e695864e58237ce00026fba8a74b31d85888c89c67a')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')