diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-04-13 00:58:50 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-04-13 00:58:50 +0000 |
commit | c2cbe820bfb69ad733ec7d265ad485a721d8a90c (patch) | |
tree | 1fc939d964ffe687b0324457ff670c859597a72e /sci-biology | |
parent | Fix the has_version check. Current eclass does not support cmake 2.4... (diff) | |
download | gentoo-2-c2cbe820bfb69ad733ec7d265ad485a721d8a90c.tar.gz gentoo-2-c2cbe820bfb69ad733ec7d265ad485a721d8a90c.tar.bz2 gentoo-2-c2cbe820bfb69ad733ec7d265ad485a721d8a90c.zip |
Import from Science overlay
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo-r4 x86_64)
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/mpiblast/ChangeLog | 15 | ||||
-rw-r--r-- | sci-biology/mpiblast/files/mpiblast-1.5.0-fix-build.patch | 48 | ||||
-rw-r--r-- | sci-biology/mpiblast/metadata.xml | 9 | ||||
-rw-r--r-- | sci-biology/mpiblast/mpiblast-1.5.0.ebuild | 35 |
4 files changed, 107 insertions, 0 deletions
diff --git a/sci-biology/mpiblast/ChangeLog b/sci-biology/mpiblast/ChangeLog new file mode 100644 index 000000000000..4e540a73b469 --- /dev/null +++ b/sci-biology/mpiblast/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for sci-biology/mpiblast +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/mpiblast/ChangeLog,v 1.1 2009/04/13 00:58:49 weaver Exp $ + +*mpiblast-1.5.0 (12 Apr 2009) + + 12 Apr 2009; Andrey Kislyuk <weaver@gentoo.org> + +files/mpiblast-1.5.0-fix-build.patch, +metadata.xml, + +mpiblast-1.5.0.ebuild: + Import from Science overlay. Thanks to Justin Bronder for build patch. + + 02 Apr 2009; Andrey Kislyuk <weaver@gentoo.org> ChangeLog: + New package sci-biology/mpiblast (previously bundled with + sci-biology/ncbi-tools), ebuild written by me + diff --git a/sci-biology/mpiblast/files/mpiblast-1.5.0-fix-build.patch b/sci-biology/mpiblast/files/mpiblast-1.5.0-fix-build.patch new file mode 100644 index 000000000000..93aa68309777 --- /dev/null +++ b/sci-biology/mpiblast/files/mpiblast-1.5.0-fix-build.patch @@ -0,0 +1,48 @@ +diff -u mpiblast-1.5.0-pio{_c,}/ncbi/make/makedis.csh +--- mpiblast-1.5.0-pio_c/ncbi/make/makedis.csh 2006-09-14 11:37:03.000000000 -0400 ++++ mpiblast-1.5.0-pio/ncbi/make/makedis.csh 2009-04-02 17:01:08.411742006 -0400 +@@ -419,9 +419,11 @@ + CFLAGS1=\"$NCBI_OPTFLAG $NCBI_CFLAGS1 $OGL_INCLUDE $PNG_INCLUDE\" \ + LDFLAGS1=\"$NCBI_LDFLAGS1\" OTHERLIBS=\"$NCBI_OTHERLIBS\" \ + SHELL=\"$NCBI_MAKE_SHELL\" LCL=\"$NCBI_DEFAULT_LCL\" \ +- RAN=\"$NCBI_RANLIB\" AR=\"$NCBI_AR\" CC=\"$NCBI_CC\" $ALL_VIB all' +-eval echo $CMD +-eval echo $CMD | sh ++ RAN=\"$NCBI_RANLIB\" AR=\"$NCBI_AR\" CC=\"$NCBI_CC\" $ALL_VIB ' ++eval echo $CMD copy ++eval echo $CMD copy | sh ++eval echo $CMD all ++eval echo $CMD all | sh + + set make_stat = $status + +@@ -473,14 +475,28 @@ + THREAD_OBJ=$NCBI_THREAD_OBJ \ + THREAD_OTHERLIBS=\"$NCBI_MT_OTHERLIBS\" \ + NETENTREZVERSION=\"$NETENTREZVERSION\" $NET_VIB' ++ set CPY='make $MFLG -f makenet.unx \ ++ CFLAGS1=\"$NCBI_OPTFLAG $NCBI_CFLAGS1 $OGL_INCLUDE\" \ ++ LDFLAGS1=\"$NCBI_LDFLAGS1\" SHELL=\"$NCBI_MAKE_SHELL\" \ ++ AR=\"$NCBI_AR\" CC=\"$NCBI_CC\" RAN=\"$NCBI_RANLIB\" OTHERLIBS=\"$NCBI_OTHERLIBS\" \ ++ THREAD_OBJ=$NCBI_THREAD_OBJ \ ++ THREAD_OTHERLIBS=\"$NCBI_MT_OTHERLIBS\" \ ++ NETENTREZVERSION=\"$NETENTREZVERSION\" copy' + else + set CMD='make $MFLG -f makenet.unx \ + CFLAGS1=\"$NCBI_OPTFLAG $NCBI_CFLAGS1 $OGL_INCLUDE\" \ + LDFLAGS1=\"$NCBI_LDFLAGS1\" SHELL=\"$NCBI_MAKE_SHELL\" \ + AR=\"$NCBI_AR\" CC=\"$NCBI_CC\" RAN=\"$NCBI_RANLIB\" OTHERLIBS=\"$NCBI_OTHERLIBS\" \ + NETENTREZVERSION=\"$NETENTREZVERSION\" $NET_VIB' ++ set CPY='make $MFLG -f makenet.unx \ ++ CFLAGS1=\"$NCBI_OPTFLAG $NCBI_CFLAGS1 $OGL_INCLUDE\" \ ++ LDFLAGS1=\"$NCBI_LDFLAGS1\" SHELL=\"$NCBI_MAKE_SHELL\" \ ++ AR=\"$NCBI_AR\" CC=\"$NCBI_CC\" RAN=\"$NCBI_RANLIB\" OTHERLIBS=\"$NCBI_OTHERLIBS\" \ ++ NETENTREZVERSION=\"$NETENTREZVERSION\" copy' + endif +-eval echo $CMD ++eval echo $CPY ++eval echo $CPY | sh ++eval echo $CMD + eval echo $CMD | sh + + set net_stat = $status diff --git a/sci-biology/mpiblast/metadata.xml b/sci-biology/mpiblast/metadata.xml new file mode 100644 index 000000000000..3302123e5718 --- /dev/null +++ b/sci-biology/mpiblast/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/mpiblast/mpiblast-1.5.0.ebuild b/sci-biology/mpiblast/mpiblast-1.5.0.ebuild new file mode 100644 index 000000000000..dab9edf50038 --- /dev/null +++ b/sci-biology/mpiblast/mpiblast-1.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/mpiblast/mpiblast-1.5.0.ebuild,v 1.1 2009/04/13 00:58:49 weaver Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="An MPI implementation of NCBI BLAST" +HOMEPAGE="http://www.mpiblast.org/" +SRC_URI="http://www.mpiblast.org/downloads/files/mpiBLAST-${PV}-pio.tgz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/mpi + app-shells/tcsh" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}-pio" + +src_configure() { + epatch "${FILESDIR}"/${P}-*.patch +} + +src_compile() { + # configure also runs build + econf +} + +src_install() { + emake DESTDIR="${D}" install || die +} |