sci-biology/snap - 20131129 (science)

Search

Package Information

Description:
HMM-based prokaryotic and eukaryotic gene prediction tool
Homepage:
http://korflab.ucdavis.edu/software.html
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
20131129 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="HMM-based prokaryotic and eukaryotic gene prediction tool"
HOMEPAGE="http://korflab.ucdavis.edu/software.html"
SRC_URI="http://korflab.ucdavis.edu/Software/snap-2013-11-29.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

S="${WORKDIR}"/snap

PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )

src_prepare(){
	default
	sed -e "s#CC=\"gcc.*#CC=$(tc-getCC)#" -i Zoe/Makefile || die
	sed -e "s#CC=\"gcc.*#CC=$(tc-getCC)#" -i Makefile || die
}

src_install(){
	echo "ZOE=/usr/share/snap/HMM" > 99snap || die
	doenvd 99snap
	insinto /usr/share/snap/HMM
	doins HMM/[a-zA-Z]*.hmm
	dobin snap fathom forge *.pl
	dodoc 00README
	einstalldocs
}

Manifest for 20131129

Type File Size Source URLs
DIST snap-2013-11-29.tar.gz 703047 bytes http://korflab.ucdavis.edu/Software/snap-2013-11-29.tar.gz