summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-10-21 17:20:26 +0200
committerGitHub <noreply@github.com>2020-10-21 10:20:26 -0500
commit640d1a00348600ada08e124127a7126083b1f428 (patch)
treee7e8e1639a1231efdccbb612870a90e418567be5 /var
parentcf733b2dd2ab38404d5c10ee5e4e0275b96f36f7 (diff)
downloadspack-640d1a00348600ada08e124127a7126083b1f428.tar.gz
spack-640d1a00348600ada08e124127a7126083b1f428.tar.bz2
spack-640d1a00348600ada08e124127a7126083b1f428.tar.xz
spack-640d1a00348600ada08e124127a7126083b1f428.zip
Add FORM (#19397)
* Add recipe for qgraf * Revert "Add recipe for qgraf" This reverts commit 76783f73867a32b4a96e980e31a433ed3c0037fd. * Add FORM * Update package.py Changes from review Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/form/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/form/package.py b/var/spack/repos/builtin/packages/form/package.py
new file mode 100644
index 0000000000..b6e866fe70
--- /dev/null
+++ b/var/spack/repos/builtin/packages/form/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 Form(AutotoolsPackage):
+ """FORM is a Symbolic Manipulation System."""
+
+ homepage = "https://www.nikhef.nl/~form/"
+ url = "https://github.com/vermaseren/form/archive/v4.2.1.tar.gz"
+
+ version('4.2.1', sha256='6f32c7470d00e8ab6934dc352f5a78e29290146a00e5775f8cd5fef7810bbbb8')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('gmp', type='link')
+ depends_on('zlib', type='link')
+
+ def configure_args(self):
+ args = ['--with-gmp=' + self.spec['gmp'].prefix,
+ '--with-zlib=' + self.spec['zlib'].prefix]
+ return args