From d2d35f80d194fee3e1bdeea1d31ea8e3ff5948bf Mon Sep 17 00:00:00 2001 From: Justin S <3630356+codeandkey@users.noreply.github.com> Date: Fri, 22 May 2020 10:17:43 -0500 Subject: [PATCH] fraggenescan: new package at v1.31 (#16587) Co-authored-by: Adam J. Stewart --- .../builtin/packages/fraggenescan/package.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/fraggenescan/package.py diff --git a/var/spack/repos/builtin/packages/fraggenescan/package.py b/var/spack/repos/builtin/packages/fraggenescan/package.py new file mode 100644 index 0000000000..c1af71a829 --- /dev/null +++ b/var/spack/repos/builtin/packages/fraggenescan/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2020 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 Fraggenescan(MakefilePackage): + """FragGeneScan is an application for finding (fragmented) genes in short + reads. It can also be applied to predict prokaryotic genes in + incomplete assemblies or complete genomes.""" + + homepage = "https://sourceforge.net/projects/fraggenescan/" + url = "https://downloads.sourceforge.net/project/fraggenescan/FragGeneScan1.31.tar.gz" + + version('1.31', sha256='cd3212d0f148218eb3b17d24fcd1fc897fb9fee9b2c902682edde29f895f426c') + + build_targets = ['fgs'] + + def edit(self, spec, prefix): + filter_file('gcc', spack_cc, 'Makefile', string=True) + + def install(self, spec, prefix): + install_tree('.', prefix.bin)