blob: e181a618246b04fd697c47957ab428c55703b9f1 (
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
31
32
33
34
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/muscle/muscle-3.6.ebuild,v 1.5 2007/12/26 10:25:01 drac Exp $
inherit toolchain-funcs
MY_P="${PN}${PV}_src"
DESCRIPTION="Multiple sequence comparison by log-expectation"
HOMEPAGE="http://www.drive5.com/muscle/"
SRC_URI="http://www.drive5.com/muscle/downloads${PV}/${MY_P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
sed -i \
"s:-static::g" \
"${S}/Makefile"
sed -i \
"/strip/d" \
"${S}/Makefile"
}
src_compile() {
emake \
GPP="$(tc-getCXX)" \
CFLAGS="${CXXFLAGS}" \
|| die "make failed"
}
src_install() {
DESTTREE="/usr" dobin muscle
}
|