summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/repeatscout/package.py
blob: acc854a47cb79404bc4817688414bbee18055567 (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
# 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)
# See the Spack documentation for more information on packaging.

from spack import *


class Repeatscout(MakefilePackage):
    """RepeatScout - De Novo Repeat Finder, Price A.L., Jones N.C. and Pevzner
       P.A."""

    homepage = "https://www.repeatmasker.org/RepeatModeler/"
    url      = "http://www.repeatmasker.org/RepeatScout-1.0.5.tar.gz"

    version('1.0.5', sha256='bda6f782382f2b7dcb6a004b7da586d5046b3c12429b158e24787be62de6199c')

    depends_on('perl', type='run')
    depends_on('trf', type='run')
    depends_on('nseg', type='run')

    def edit(self, spec, prefix):
        filter_file('^INSTDIR.*$', 'INSTDIR=%s' % prefix.bin, 'Makefile')