# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ 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} }