blob: 45f327d1845117c4bf52a4264684611581733e45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2013-2022 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.package import *
class Maeparser(CMakePackage):
"""Parser for Schrodinger Maestro files"""
homepage = "https://github.com/schrodinger/maeparser"
url = "https://github.com/schrodinger/maeparser/archive/refs/tags/v1.3.0.tar.gz"
maintainers("RMeli")
license("MIT")
version("1.3.1", sha256="a8d80f67d1b9be6e23b9651cb747f4a3200132e7d878a285119c86bf44568e36")
version("1.3.0", sha256="fa8f9336de1e5d1cabec29a6da04547b1fb040bb32ba511ff30b4a14097c751c")
variant(
"shared",
default=True,
description="Build maeparser as a shared library (turn off for a static one)",
)
depends_on("boost +iostreams +filesystem +test")
depends_on("zlib-api")
def cmake_args(self):
args = [self.define_from_variant("MAEPARSER_BUILD_SHARED_LIBS", "shared")]
return args
|