summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-07-21 08:44:44 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-07-21 08:44:44 +0000
commit3318b95a2e0a20945ac21809ae225b2ba0ed96f1 (patch)
treef7d9ad7e4fb18d3e50aea1a35fb1b62dc2e9296e /sci-biology/paml
parentVersion bump for new development version of mesa. (diff)
downloadgentoo-2-3318b95a2e0a20945ac21809ae225b2ba0ed96f1.tar.gz
gentoo-2-3318b95a2e0a20945ac21809ae225b2ba0ed96f1.tar.bz2
gentoo-2-3318b95a2e0a20945ac21809ae225b2ba0ed96f1.zip
Remove static linking, bug 273344
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/paml')
-rw-r--r--sci-biology/paml/ChangeLog7
-rw-r--r--sci-biology/paml/paml-4.2b-r1.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/sci-biology/paml/ChangeLog b/sci-biology/paml/ChangeLog
index b923e3fdc55a..3798dc8cfb96 100644
--- a/sci-biology/paml/ChangeLog
+++ b/sci-biology/paml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/paml
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/paml/ChangeLog,v 1.5 2009/04/25 23:08:33 weaver Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/paml/ChangeLog,v 1.6 2009/07/21 08:44:44 weaver Exp $
+
+*paml-4.2b-r1 (21 Jul 2009)
+
+ 21 Jul 2009; Andrey Kislyuk <weaver@gentoo.org> +paml-4.2b-r1.ebuild:
+ Remove static linking, bug 273344
*paml-4.2b (25 Apr 2009)
diff --git a/sci-biology/paml/paml-4.2b-r1.ebuild b/sci-biology/paml/paml-4.2b-r1.ebuild
new file mode 100644
index 000000000000..5159fee6c399
--- /dev/null
+++ b/sci-biology/paml/paml-4.2b-r1.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.2b-r1.ebuild,v 1.1 2009/07/21 08:44:44 weaver Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+MY_P="${PN}42"
+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"
+}