From 4de276291f0a434375d93748a25e8ef5c85c9bb0 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Mon, 7 Dec 2015 08:15:03 +0100 Subject: sci-biology/phylip: Fix install path for libs Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher --- sci-biology/phylip/phylip-3.696-r1.ebuild | 55 +++++++++++++++++++++++++++++++ sci-biology/phylip/phylip-3.696.ebuild | 54 ------------------------------ 2 files changed, 55 insertions(+), 54 deletions(-) create mode 100644 sci-biology/phylip/phylip-3.696-r1.ebuild delete mode 100644 sci-biology/phylip/phylip-3.696.ebuild (limited to 'sci-biology') diff --git a/sci-biology/phylip/phylip-3.696-r1.ebuild b/sci-biology/phylip/phylip-3.696-r1.ebuild new file mode 100644 index 000000000000..c9c7b70b99b3 --- /dev/null +++ b/sci-biology/phylip/phylip-3.696-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION=" The PHYLogeny Inference Package" +HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" +SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD-2" +IUSE="" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +RDEPEND="x11-libs/libXaw" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + mv Makefile.unx Makefile || die + sed \ + -e "/ -o /s:\(\$(CC)\):\1 ${LDFLAGS}:g" \ + -i Makefile || die "Patching Makefile failed." + mkdir ../fonts || die +} + +src_compile() { + emake -j1 \ + CC="$(tc-getCC)" \ + DC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wno-unused-result" \ + all put +} + +src_install() { + cd "${WORKDIR}/${P}" || die + + mv exe/font* fonts || die "Font move failed." + mv exe/factor exe/factor-${PN} || die "Renaming factor failed." + + dolib.so exe/*so && rm exe/*so || die + dobin exe/* + + dodoc "${FILESDIR}"/README.Gentoo + + dohtml -r phylip.html doc + + insinto /usr/share/${PN}/ + doins -r fonts +} diff --git a/sci-biology/phylip/phylip-3.696.ebuild b/sci-biology/phylip/phylip-3.696.ebuild deleted file mode 100644 index cf6fe4072cbf..000000000000 --- a/sci-biology/phylip/phylip-3.696.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit toolchain-funcs - -DESCRIPTION=" The PHYLogeny Inference Package" -HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" -SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD-2" -IUSE="" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -RDEPEND="x11-libs/libXaw" -DEPEND="${RDEPEND} - x11-proto/xproto" - -S="${WORKDIR}/${P}/src" - -src_prepare() { - mv Makefile.unx Makefile || die - sed \ - -e "/ -o /s:\(\$(CC)\):\1 ${LDFLAGS}:g" \ - -i Makefile || die "Patching Makefile failed." - mkdir ../fonts || die -} - -src_compile() { - emake -j1 \ - CC="$(tc-getCC)" \ - DC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} -Wno-unused-result" \ - all put -} - -src_install() { - cd "${WORKDIR}/${P}" || die - - mv exe/font* fonts || die "Font move failed." - mv exe/factor exe/factor-${PN} || die "Renaming factor failed." - - dobin exe/* - - dodoc "${FILESDIR}"/README.Gentoo - - dohtml -r phylip.html doc - - insinto /usr/share/${PN}/ - doins -r fonts -} -- cgit v1.2.3-65-gdbad