public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/pvmsx/
Date: Wed,  7 Jan 2015 22:12:30 +0000 (UTC)	[thread overview]
Message-ID: <1420668687.3010ecf4051cb4cbab7d5adfceca5bccf1e312df.mmokrejs@gentoo> (raw)

commit:     3010ecf4051cb4cbab7d5adfceca5bccf1e312df
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Wed Jan  7 22:11:27 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Wed Jan  7 22:11:27 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3010ecf4

Initial ebuild

---
 sci-biology/pvmsx/metadata.xml     |  9 ++++++++
 sci-biology/pvmsx/pvmsx-0.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sci-biology/pvmsx/metadata.xml b/sci-biology/pvmsx/metadata.xml
new file mode 100644
index 0000000..07b5255
--- /dev/null
+++ b/sci-biology/pvmsx/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>sci-biology</herd>
+	<maintainer>
+		<email>mmokrejs@fold.natur.cuni.cz</email>
+		<name>Martin Mokrejs</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/sci-biology/pvmsx/pvmsx-0.1.ebuild b/sci-biology/pvmsx/pvmsx-0.1.ebuild
new file mode 100644
index 0000000..b194f08
--- /dev/null
+++ b/sci-biology/pvmsx/pvmsx-0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="parallel multi-FASTA file processing tool using PVM from TIGR Gene Indices project tools, an alternative to psx"
+HOMEPAGE="http://compbio.dfci.harvard.edu/tgi/software/"
+SRC_URI="ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/tgicl/${PN}.tar.gz
+		ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/tgicl/cdbfasta.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-cluster/pvm"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack(){
+	mkdir ${PN} || die
+	cd ${PN} || die "Failed to chdir"
+	unpack ${PN}.tar.gz || die
+}
+
+src_prepare() {
+	# we need gclib from cdbfasta.tar.gz bundle which has fewer files than tgi_cpp_library.tar.gz wbut has e.g. GStr.h
+	sed -i 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' "${S}"/${PN}/Makefile || die "Failed to run sed"
+	sed -i 's#GCLDIR := ../gclib#GCLDIR := ../cdbfasta/gclib#' "${S}"/"${PN}"/Makefile || die
+	sed -i "s#-I-#-iquote#" ${S}/${PN}/Makefile
+	cd ${PN} || die
+	ln -s ../cdbfasta/gcl . || die "Cannot make a softlink"
+}
+
+src_compile() {
+	cd ${PN} || die
+	emake || die "emake failed in "${S}"/${PN}"
+}
+
+src_install() {
+	cd ${PN} || die
+	dobin ${PN} || die "Failed to install ${PN} binary"
+	newdoc README README.${PN}
+}


             reply	other threads:[~2015-01-07 22:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-07 22:12 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-10 14:37 [gentoo-commits] proj/sci:master commit in: sci-biology/pvmsx/ Justin Lecher
2021-01-18 21:39 Aisha Tammy

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=1420668687.3010ecf4051cb4cbab7d5adfceca5bccf1e312df.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --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