Added the installation files for the "Triangle" package.
This commit is contained in:
parent
9a6221ea40
commit
3c8bbeafc7
20
var/spack/repos/builtin/packages/Triangle/package.py
Normal file
20
var/spack/repos/builtin/packages/Triangle/package.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user