aboutsummaryrefslogtreecommitdiff
blob: b0942764df02250c776c9763e571071666e43ca5 (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
29
30
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit toolchain-funcs

DESCRIPTION="Convert Roche SFF files to FASTA file format"
HOMEPAGE="http://genome.imb-jena.de/software/roche454ace2caf"
SRC_URI="http://genome.imb-jena.de/software/roche454ace2caf/download/src/${P}.tgz"

LICENSE="FLI-Jena"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_prepare(){
	sed \
		-e 's:^CC :#CC :' \
		-e 's:^LD :#LD :' \
		-e 's:^CFLAGS.*:CFLAGS+= -D__LINUX__ -Wcast-align:' \
		-e 's:^LDFLAGS=:#LDFLAGS=:' \
		-i Makefile || die
	tc-export CC LD
}

src_install(){
	dobin sff_dump
}