blob: ee9d529f76006e0126b506b1a320a5ee431480c6 (
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
|
# Copyright 2013-2023 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 Sam2p(Package):
"""A raster to PostScript/PDF image conversion program"""
homepage = "https://github.com/pts/sam2p"
url = "https://github.com/pts/sam2p/archive/v0.49.4.tar.gz"
git = homepage
maintainers("robertu94")
license("GPL-2.0-or-later")
version("master", branch="master")
version("2021-05-04", commit="f3e9cc0a2df1880a63f9f37c96e3595bca890cfa")
def install(self, spec, prefix):
compile_sh = Executable("./compile.sh")
compile_sh()
mkdirp(prefix.bin)
install("sam2p", prefix.bin)
|