summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2019-10-22 03:04:00 +0800
committerPeter Scheibel <scheibel1@llnl.gov>2019-10-21 12:04:00 -0700
commit26687988eb7328023b69c277c280b2f485d74961 (patch)
tree84e5f09c9dbcc93d37d66f82da21da6b6f68170d
parent3d77ecd92e0ccc950daf30468ec2ef591668d8eb (diff)
downloadspack-26687988eb7328023b69c277c280b2f485d74961.tar.gz
spack-26687988eb7328023b69c277c280b2f485d74961.tar.bz2
spack-26687988eb7328023b69c277c280b2f485d74961.tar.xz
spack-26687988eb7328023b69c277c280b2f485d74961.zip
New package: Fl (#12877)
-rw-r--r--var/spack/repos/builtin/packages/fl/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fl/package.py b/var/spack/repos/builtin/packages/fl/package.py
new file mode 100644
index 0000000000..3b60495a53
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fl/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2019 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 Fl(Package):
+ """Fawlty Language is an IDL8
+ (Interactive Data Language) compatible compiler."""
+
+ homepage = "https://www.flxpert.hu/fl/"
+ url = "https://www.flxpert.hu/fl/fl_0.79.47-amd64-linux.tar.gz"
+
+ version('0.79.47', sha256='b8a4a74118c1a024313bf912261fbc016a53f2d15adb1226217f2a10a9f7ca9a')
+
+ def install(self, spec, prefix):
+ if (self.spec.satisfies('platform=linux') and
+ self.spec.satisfies('target=x86_64')):
+ with working_dir('fl_{0}'.format(spec.version)):
+ install_tree('.', prefix)
+ else:
+ raise InstallError('fl is built for Linux x86_64 platform only.')