diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-11-13 15:36:55 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-11-13 15:36:55 +0000 |
commit | 60df5a744f3292e4ceec7f78401cb90f758b6e76 (patch) | |
tree | dbe7d2cf3ec8aa8f2880559f7d7740ddb717ed0c /sci-biology/paml/paml-4.3a.ebuild | |
parent | Version bump (bug #285327) and add myself to maintainers, patches from bugs #... (diff) | |
download | gentoo-2-60df5a744f3292e4ceec7f78401cb90f758b6e76.tar.gz gentoo-2-60df5a744f3292e4ceec7f78401cb90f758b6e76.tar.bz2 gentoo-2-60df5a744f3292e4ceec7f78401cb90f758b6e76.zip |
Version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/paml/paml-4.3a.ebuild')
-rw-r--r-- | sci-biology/paml/paml-4.3a.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-biology/paml/paml-4.3a.ebuild b/sci-biology/paml/paml-4.3a.ebuild new file mode 100644 index 000000000000..fc0efd0b27bb --- /dev/null +++ b/sci-biology/paml/paml-4.3a.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/paml/paml-4.3a.ebuild,v 1.1 2009/11/13 15:36:55 weaver Exp $ + +EAPI="2" + +inherit toolchain-funcs + +MY_P="${PN}43" +DESCRIPTION="Phylogenetic Analysis by Maximum Likelihood" +HOMEPAGE="http://abacus.gene.ucl.ac.uk/software/paml.html" +SRC_URI="http://abacus.gene.ucl.ac.uk/software/${PN}${PV}.tar.gz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i 's/-static//' "${S}/src/Makefile.UNIX" || die +} + +src_compile() { + cd src + emake \ + -f Makefile.UNIX \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + || die "make failed" +} + +src_install() { + pushd "${S}"/src + dobin baseml codeml basemlg mcmctree pamp evolver yn00 chi2 || die + popd + dodoc README.txt doc/* + insinto /usr/share/${PN}/control + doins *.ctl || die "Failed to install control files" + insinto /usr/share/${PN}/dat + doins stewart* *.dat dat/* || die "Failed to install data files" + insinto /usr/share/${PN} + doins -r examples/ || die "Failed to install examples" +} |