summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJoseph Ciurej <ciurej1@llnl.gov>2016-02-16 13:01:18 -0800
committerJoseph Ciurej <ciurej1@llnl.gov>2016-02-16 13:01:18 -0800
commit3c8bbeafc78c00cd93fa4526a0e55bf16d36b454 (patch)
tree679d57080046f03018c98da2f66d2b0b8fe6a9ec /var
parent9a6221ea40e8cda3bdfa495b7c4a93284e8f4895 (diff)
downloadspack-3c8bbeafc78c00cd93fa4526a0e55bf16d36b454.tar.gz
spack-3c8bbeafc78c00cd93fa4526a0e55bf16d36b454.tar.bz2
spack-3c8bbeafc78c00cd93fa4526a0e55bf16d36b454.tar.xz
spack-3c8bbeafc78c00cd93fa4526a0e55bf16d36b454.zip
Added the installation files for the "Triangle" package.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/Triangle/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/Triangle/package.py b/var/spack/repos/builtin/packages/Triangle/package.py
new file mode 100644
index 0000000000..f65d93776d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/Triangle/package.py
@@ -0,0 +1,20 @@
+from spack import *
+
+class Triangle(Package):
+ """Triangle is a two-dimensional mesh generator and Delaunay
+ triangulator. Triangle generates exact Delaunay triangulations,
+ constrained Delaunay triangulations, conforming Delaunay
+ triangulations, Voronoi diagrams, and high-quality triangular
+ meshes."""
+
+ homepage = "http://www.cs.cmu.edu/~quake/triangle.html"
+ url = "http://www.netlib.org/voronoi/triangle.zip"
+
+ version('1.6', '10aff8d7950f5e0e2fb6dd2e340be2c9')
+
+ def install(self, spec, prefix):
+ make()
+ mkdirp(prefix.bin)
+
+ install('triangle', prefix.bin)
+ install('showme', prefix.bin)