summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/aegean/package.py
blob: 90d89a635fe8b212dc2041d582b71e2d7d5c993a (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
# Copyright 2013-2024 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 Aegean(MakefilePackage):
    """The AEGeAn Toolkit is designed for the Analysis and Evaluation of
    Genome Annotations. The toolkit includes a variety of analysis programs
    as well as a C library whose API provides access to AEGeAn's core
    functions and data structures."""

    homepage = "https://brendelgroup.github.io/AEGeAn/"
    url = "https://github.com/BrendelGroup/AEGeAn/archive/v0.15.2.tar.gz"

    license("0BSD")

    version("0.15.2", sha256="734c9dd23ab3415c3966083bfde5fb72c81e6ace84e08ee3fe0d4c338331d975")

    depends_on("genometools")

    def edit(self, spec, prefix):
        makefile = FileFilter("Makefile")
        if spec.target.family == "aarch64":
            makefile.filter("-m64", "")

        makefile.filter("/usr/local", prefix)