aboutsummaryrefslogtreecommitdiff
blob: 90dd57668fad434679240ed690e26194a4f63868 (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: $

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}
}