summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-07-27 05:26:29 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-07-27 05:26:29 +0000
commita83c6ed27f0af4db0c894e3f97348bbdbcd035bd (patch)
tree7457cfa2c3f4b53b97a0d5d590b5e29b84b88014 /sci-biology/ncbi-tools++
parentVersion bump (beta version). (diff)
downloadgentoo-2-a83c6ed27f0af4db0c894e3f97348bbdbcd035bd.tar.gz
gentoo-2-a83c6ed27f0af4db0c894e3f97348bbdbcd035bd.tar.bz2
gentoo-2-a83c6ed27f0af4db0c894e3f97348bbdbcd035bd.zip
Import from Science overlay
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/ncbi-tools++')
-rw-r--r--sci-biology/ncbi-tools++/ChangeLog16
-rw-r--r--sci-biology/ncbi-tools++/metadata.xml9
-rw-r--r--sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15.ebuild80
3 files changed, 105 insertions, 0 deletions
diff --git a/sci-biology/ncbi-tools++/ChangeLog b/sci-biology/ncbi-tools++/ChangeLog
new file mode 100644
index 000000000000..dd17eec89d20
--- /dev/null
+++ b/sci-biology/ncbi-tools++/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for sci-biology/ncbi-tools++
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ChangeLog,v 1.1 2009/07/27 05:26:29 weaver Exp $
+
+*ncbi-tools++-2009.05.15 (27 Jul 2009)
+
+ 27 Jul 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml,
+ +ncbi-tools++-2009.05.15.ebuild:
+ Import from Science overlay
+
+ 25 Jul 2009; Andrey Kislyuk <weaver@gentoo.org> ChangeLog:
+ Version bump
+
+ 28 Apr 2009; Andrey Kislyuk <weaver@gentoo.org> ChangeLog:
+ New package, ebuild written by me
+
diff --git a/sci-biology/ncbi-tools++/metadata.xml b/sci-biology/ncbi-tools++/metadata.xml
new file mode 100644
index 000000000000..3302123e5718
--- /dev/null
+++ b/sci-biology/ncbi-tools++/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
+</pkgmetadata>
diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15.ebuild
new file mode 100644
index 000000000000..5cdc3afb8362
--- /dev/null
+++ b/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/ncbi-tools++/ncbi-tools++-2009.05.15.ebuild,v 1.1 2009/07/27 05:26:29 weaver Exp $
+
+EAPI="2"
+
+inherit multilib
+
+MY_TAG="May_15_2009"
+MY_Y="${TAG/*_/}"
+MY_P="ncbi_cxx--${MY_TAG}"
+
+DESCRIPTION="NCBI C++ Toolkit"
+HOMEPAGE="http://www.ncbi.nlm.nih.gov/books/bv.fcgi?rid=toolkit"
+SRC_URI="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/${MY_Y}/${MY_TAG}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+#IUSE="X unicode opengl gnutls test"
+IUSE="sqlite"
+KEYWORDS="~amd64 ~x86"
+
+# wxGTK: must run eselect wxwindows after installing wxgtk or build will fail. Check and abort here.
+# dev-libs/xalan-c - problems detecting, api mismatch?
+
+# apparently gbench-only dependencies
+# dev-libs/libxml2
+# dev-libs/libxslt
+# dev-libs/xerces-c
+# dev-libs/lzo:2
+# dev-libs/boost
+# app-text/sablotron
+# media-libs/libpng
+# media-libs/tiff
+# media-libs/jpeg
+# x11-libs/libXpm
+# unicode? ( dev-libs/icu )
+# opengl? ( media-libs/glut
+# media-libs/mesa )
+# gnutls? ( net-libs/gnutls )
+# X? ( x11-libs/fltk:1.1
+# x11-libs/wxGTK )
+
+DEPEND="sqlite? ( dev-db/sqlite:3 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ # econf fails
+ "${S}"/configure --without-debug --with-bin-release --prefix="${D}"/usr \
+ --libdir="${D}"/usr/$(get_libdir) \
+ --with-z="/usr" \
+ --with-bz2="/usr" \
+ --with-pcre="/usr" \
+ --with-openssl="/usr" \
+ || die
+
+# apparently gbench-only configs
+# --with-boost="/usr" \
+# --with-sablot="/usr" \
+# --with-icu="/usr" \
+# --with-fltk="/usr" \
+# --with-mesa="/usr" \
+# --with-glut="/usr" \
+# --with-wxwidgets="/usr" \
+# problems detecting this
+# --with-xalan="/usr" \
+}
+
+src_compile() {
+ emake all_r -C GCC*-Release*/build || die
+}
+
+src_install() {
+ emake install || die
+ # File collisions with sci-biology/ncbi-tools
+ rm -f "${D}"/usr/bin/{asn2asn,rpsblast,test_regexp}
+ rm -f "${D}"/usr/$(get_libdir)/libblast.a
+}