aboutsummaryrefslogtreecommitdiff
blob: b30b38490020441ffc765d5af207b6d3272b2ae2 (plain)
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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs

DESCRIPTION="Reformat/edit FASTA files and compute simple statistics (N50, quartiles, mode)"
HOMEPAGE="http://bioresearch.byu.edu/msa"
SRC_URI="http://bioresearch.byu.edu/msa/${P}.tgz"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS=""
IUSE=""

src_prepare(){
	sed \
		-e "s/OPT = -O3/OPT = ${CFLAGS}/" \
		-i fac.mak fas.mak mscore.mak || die
	tc-export CC
	default
}

src_install(){
	dobin fac fas mscore
	dodoc README.txt
}