diff options
Diffstat (limited to 'sci-biology/ariadne/ariadne-1.3-r3.ebuild')
-rw-r--r-- | sci-biology/ariadne/ariadne-1.3-r3.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/sci-biology/ariadne/ariadne-1.3-r3.ebuild b/sci-biology/ariadne/ariadne-1.3-r3.ebuild new file mode 100644 index 000000000000..0103c6d3648c --- /dev/null +++ b/sci-biology/ariadne/ariadne-1.3-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Protein sequences and profiles comparison" +HOMEPAGE="http://www.well.ox.ac.uk/ariadne/" +SRC_URI="http://www.well.ox.ac.uk/${PN}/${P}.tar.Z" + +LICENSE="ARIADNE" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND=">=sci-biology/ncbi-tools-0.20041020-r1" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/SRC-${PV} + +PATCHES=( + "${FILESDIR}"/${P}-gcc4.patch + "${FILESDIR}"/${P}-implicits.patch +) + +src_prepare() { + default + sed -i -e "s/\$(CFLAGS)/\$(LDFLAGS) &/" Makefile || die #359045 + sed -e "s/blosum62/BLOSUM62/" -i prospero.c || die +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMISE="${CFLAGS}" +} + +src_install() { + dobin Linux/{ariadne,prospero} + + use static-libs && dolib.a Linux/libseq.a + + insinto /usr/include/${PN} + doins Include/*.h + + einstalldocs +} |