aboutsummaryrefslogtreecommitdiff
blob: 67def6a7e66917426352018df9122ca7deecfc82 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit eutils flag-o-matic toolchain-funcs 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/proda_${MY_PV}.tar.gz"

LICENSE="public-domain"
SLOT="0"
IUSE="debug "
KEYWORDS="~amd64 ~x86"

S="${WORKDIR}"/${PN}

PATCHES=(
	"${FILESDIR}"/${P}-newgcc.patch
	"${FILESDIR}"/${P}-buildsystem.patch
	)

src_prepare() {
	epatch ${PATCHES[@]}
	use debug || append-flags -DNDEBUG
	tc-export CXX
}

src_install() {
	dobin ${PN}
}