summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-04-23 15:59:32 +0800
committerGitHub <noreply@github.com>2020-04-23 09:59:32 +0200
commit807a08a69bec1b66327b7e7d8e402852f5b14964 (patch)
tree70f0ea90d25d866be2c887c96e0f4549587cd66c /var
parent044985af80f1310b16898a5c693c0bb4b49cdc27 (diff)
downloadspack-807a08a69bec1b66327b7e7d8e402852f5b14964.tar.gz
spack-807a08a69bec1b66327b7e7d8e402852f5b14964.tar.bz2
spack-807a08a69bec1b66327b7e7d8e402852f5b14964.tar.xz
spack-807a08a69bec1b66327b7e7d8e402852f5b14964.zip
enca: added package at v1.19 (#16255)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/enca/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/enca/package.py b/var/spack/repos/builtin/packages/enca/package.py
new file mode 100644
index 0000000000..9324a22652
--- /dev/null
+++ b/var/spack/repos/builtin/packages/enca/package.py
@@ -0,0 +1,27 @@
+# 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 Enca(AutotoolsPackage):
+ """Extremely Naive Charset Analyser."""
+
+ homepage = "https://cihar.com/software/enca/"
+ url = "https://github.com/nijel/enca/archive/1.19.tar.gz"
+
+ version('1.19', sha256='c4fd9a3d7c086803138842b18eed6072ec8810859b0e1ef091f1e1138d283f25')
+ version('1.18', sha256='b87c8d1bffc7d06ba74f82ae86eb21a921e94629203b2a971c966064c7eadab2')
+ version('1.17', sha256='b20372440c500e6463bd61dab0e68131cdfe857c6b7ca139b5c6cbf01e24fdc7')
+ version('1.16', sha256='14457b185c77b947ca2f8e09a2c3ec66940d97a2ccea28b8e61a6e0f3a0033f6')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')