From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/amap/
Date: Sat, 25 Feb 2017 19:19:21 +0000 (UTC) [thread overview]
Message-ID: <1488050288.0eb34b26dabe226e954c42a2a914a0d522a45d2c.soap@gentoo> (raw)
commit: 0eb34b26dabe226e954c42a2a914a0d522a45d2c
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 17:54:59 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 19:18:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb34b26
sci-biology/amap: Modernise to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
sci-biology/amap/amap-2.2-r3.ebuild | 57 +++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/sci-biology/amap/amap-2.2-r3.ebuild b/sci-biology/amap/amap-2.2-r3.ebuild
new file mode 100644
index 0000000000..68af0d66ac
--- /dev/null
+++ b/sci-biology/amap/amap-2.2-r3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit java-pkg-opt-2 java-ant-2 toolchain-funcs
+
+MY_P=${PN}.${PV}
+
+DESCRIPTION="Protein multiple-alignment-based sequence annealing"
+HOMEPAGE="http://bio.math.berkeley.edu/amap/"
+SRC_URI="http://baboon.math.berkeley.edu/${PN}/download/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="java"
+
+RDEPEND="java? ( >=virtual/jre-1.5 )"
+DEPEND="java? ( >=virtual/jdk-1.5 )"
+
+S=${WORKDIR}/${PN}-align
+
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-includes.patch
+)
+
+src_prepare() {
+ default
+ java-pkg-opt-2_src_prepare
+}
+
+src_compile() {
+ emake -C align CXX="$(tc-getCXX)" OPT_CXXFLAGS="${CXXFLAGS}"
+
+ if use java; then
+ pushd display >/dev/null || die
+ eant -Ddisplay all || die
+ popd >/dev/null || die
+ fi
+}
+
+src_install() {
+ dobin align/${PN}
+
+ dodoc align/{README,PROBCONS.README}
+
+ insinto /usr/share/${PN}/examples
+ doins -r examples/.
+
+ if use java; then
+ java-pkg_newjar display/AmapDisplay.jar amapdisplay.jar
+ java-pkg_dolauncher amapdisplay --jar amapdisplay.jar
+ fi
+}
next reply other threads:[~2017-02-25 19:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-25 19:19 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-25 19:19 [gentoo-commits] repo/gentoo:master commit in: sci-biology/amap/ David Seifert
2021-06-06 18:00 Pacho Ramos
2024-08-27 7:40 Miroslav Šulc
2024-09-01 9:56 Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488050288.0eb34b26dabe226e954c42a2a914a0d522a45d2c.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox