summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin/packages/meshtool/package.py
blob: 57805430c8d3c0ad7d8ae0654c2f02538c495276 (plain) (tree)






















                                                                         
# Copyright 2013-2021 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 Meshtool(MakefilePackage):
    """Meshtool - A mesh manipulation utility"""

    homepage = "https://bitbucket.org/aneic/meshtool/"
    git      = "https://bitbucket.org/aneic/meshtool.git"

    maintainers = ['MarieHouillon']

    version('master', branch='master')
    # Version to use with opencarp@7.0
    version('oc7.0', commit="6c5cfbd067120901f15a04bf63beec409bda6dc9")

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install('meshtool', prefix.bin)