/[gentoo-x86]/sci-biology/phylip/phylip-3.696.ebuild
Gentoo

Contents of /sci-biology/phylip/phylip-3.696.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Mar 29 14:05:50 2015 UTC (3 years, 8 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Version BUmp

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/phylip/phylip-3.69-r1.ebuild,v 1.1 2013/02/17 11:28:00 jlec Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION=" The PHYLogeny Inference Package"
10 HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html"
11 SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="BSD-2"
15 IUSE=""
16 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
17
18 RDEPEND="x11-libs/libXaw"
19 DEPEND="${RDEPEND}
20 x11-proto/xproto"
21
22 S="${WORKDIR}/${P}/src"
23
24 src_prepare() {
25 mv Makefile.unx Makefile || die
26 sed \
27 -e "/ -o /s:\(\$(CC)\):\1 ${LDFLAGS}:g" \
28 -i Makefile || die "Patching Makefile failed."
29 mkdir ../fonts || die
30 }
31
32 src_compile() {
33 emake -j1 \
34 CC="$(tc-getCC)" \
35 DC="$(tc-getCC)" \
36 CFLAGS="${CFLAGS} -Wno-unused-result" \
37 all put
38 }
39
40 src_install() {
41 cd "${WORKDIR}/${P}" || die
42
43 mv exe/font* fonts || die "Font move failed."
44 mv exe/factor exe/factor-${PN} || die "Renaming factor failed."
45
46 dobin exe/*
47
48 dodoc "${FILESDIR}"/README.Gentoo
49
50 dohtml -r phylip.html doc
51
52 insinto /usr/share/${PN}/
53 doins -r fonts
54 }

  ViewVC Help
Powered by ViewVC 1.1.20