Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/kalign/kalign-2.03.ebuild,v 1.3 2009/03/21 17:10:35 armin76 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/kalign/kalign-2.03.ebuild,v 1.3 2009/03/21 17:10:35 armin76 Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI=2 |
5 |
DESCRIPTION="Global and progressive multiple sequence alignment" |
6 |
DESCRIPTION="Global and progressive multiple sequence alignment" |
6 |
HOMEPAGE="http://msa.cgb.ki.se/" |
7 |
HOMEPAGE="http://msa.cgb.ki.se/" |
7 |
SRC_URI="mirror://debian/pool/main/k/kalign/${PN}_${PV}.orig.tar.gz" |
8 |
SRC_URI="mirror://debian/pool/main/k/kalign/${PN}_${PV}.orig.tar.gz" |
Lines 15-24
Link Here
|
15 |
RDEPEND="" |
16 |
RDEPEND="" |
16 |
|
17 |
|
17 |
S="${WORKDIR}/${PN}" |
18 |
S="${WORKDIR}/${PN}" |
|
|
19 |
inherit toolchain-funcs |
18 |
|
20 |
|
19 |
src_unpack() { |
21 |
|
20 |
unpack ${A} |
22 |
src_configure() { |
21 |
sed -i 's/^CFLAGS.*= -O9/CFLAGS := ${CFLAGS} -O3/' "${S}"/Makefile.in |
23 |
sed -i "${S}"/Makefile.in -e 's/^CFLAGS.*= -O9/CFLAGS := ${CFLAGS} -O3/' \ |
|
|
24 |
-e "s/gcc/$(tc-getCC)/"\ |
25 |
-e 's/$(CFLAGS)/$(CFLAGS) $(LDFLAGS)/' || die "sed failed" |
26 |
./configure || die "configure failed" |
22 |
} |
27 |
} |
23 |
|
28 |
|
24 |
src_install() { |
29 |
src_install() { |