diff options
Diffstat (limited to 'sci-biology/prank/prank-111130.ebuild')
-rw-r--r-- | sci-biology/prank/prank-111130.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-biology/prank/prank-111130.ebuild b/sci-biology/prank/prank-111130.ebuild new file mode 100644 index 000000000000..4d4f6e912495 --- /dev/null +++ b/sci-biology/prank/prank-111130.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Probabilistic Alignment Kit" +HOMEPAGE="http://wasabiapp.org/software/prank/" +SRC_URI="http://prank-msa.googlecode.com/files/prank.src.${PV}.tgz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/prank-msa/src" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc-4.7.patch + sed \ + -e "s/\$(LINK)/& \$(LDFLAGS)/" \ + -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \ + -i Makefile || die +} + +src_compile() { + emake \ + LINK="$(tc-getCXX)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + dobin prank +} |