aboutsummaryrefslogtreecommitdiff
blob: 568d217b6434a5aeae0063d87f3b29a8ca622e91 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/amos/amos-2.0.8-r1.ebuild,v 1.1 2010/02/11 16:47:31 weaver Exp $

EAPI=5

inherit eutils toolchain-funcs

DESCRIPTION="Micro Read Fast Alignment Search Tool"
HOMEPAGE="http://mrsfast.sourceforge.net/Home"
SRC_URI="mirror://sourceforge/mrsfast/${PV}/${P}.zip"

LICENSE="BSD"
SLOT="0"
IUSE=""
KEYWORDS="~amd64"

src_prepare() {
	sed \
		-e "s:gcc:$(tc-getCC) ${LDFLAGS}:g" \
		-e '/^CFLAGS/d' \
		-e '/^LDFLAGS/d' \
		-i Makefile || die
	tc-export CC
}

src_install() {
	dobin ${PN}
}