summaryrefslogtreecommitdiff
blob: 80dc48726fe8f197a12f22a9c75c372be1a9c757 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A whole-genome shotgun assembler from TIGR"
HOMEPAGE="http://www.tigr.org/software/assembler/"
SRC_URI="ftp://ftp.tigr.org/pub/software/assembler/TIGR_Assembler_v2.tar.gz"

LICENSE="Artistic"
SLOT="0"
IUSE=""
KEYWORDS="~x86"

DEPEND=""
RDEPEND=""

S="${WORKDIR}/TIGR_Assembler_v2"

src_compile() {
	sed -i 's/CFLAGS.*= -O/CFLAGS := -O ${CFLAGS}/' "${S}/src/Makefile" || die "sed failed"
	cd "${S}/src"
	emake || die "emake failed"
}

src_install() {
	dobin bin/{run_TA,TIGR_Assembler}
	dodoc README
}