summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/aegean/package.py
blob: 10107663c995a00673a75bf8c4e9c32d63fd3e2f (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-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 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 = "http://brendelgroup.github.io/AEGeAn/"
    url      = "https://github.com/BrendelGroup/AEGeAn/archive/v0.15.2.tar.gz"

    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)