blob: 455d7eebdd1a6c1a87feb60d22e1bbb98d0e3018 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit versionator
MY_PV=$(replace_all_version_separators '_')
DESCRIPTION="Multiple alignment of protein sequences with repeated and shuffled elements"
HOMEPAGE="http://proda.stanford.edu/"
SRC_URI="http://proda.stanford.edu/${PN}_${MY_PV}.tar.gz"
LICENSE="public-domain"
SLOT="0"
IUSE=""
KEYWORDS="~x86"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
sed -i -e 's/^\(CXXFLAGS =\)/#\1/' \
-e 's/#CXXFLAGS = \(-O3.*$(OTHERFLAGS) -funroll-loops\)/CXXFLAGS := ${CXXFLAGS} \1/' \
"${S}/Makefile" || die "sed failed"
}
src_install() {
dobin proda
}
|