summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2010-07-25 18:01:15 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2010-07-25 18:01:15 +0000
commitbd0ab2a7bdc53a8e721790178eba74dd6f1e70ed (patch)
tree3bd469a314eaa8ed62cbbe6a64560153dbda9d9a /sci-biology/shrimp/shrimp-2.0.1.ebuild
parentMove filter-flags for -fPIE before econf so it has some effect wrt #327369. (diff)
downloadhistorical-bd0ab2a7bdc53a8e721790178eba74dd6f1e70ed.tar.gz
historical-bd0ab2a7bdc53a8e721790178eba74dd6f1e70ed.tar.bz2
historical-bd0ab2a7bdc53a8e721790178eba74dd6f1e70ed.zip
Version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/shrimp/shrimp-2.0.1.ebuild')
-rw-r--r--sci-biology/shrimp/shrimp-2.0.1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/sci-biology/shrimp/shrimp-2.0.1.ebuild b/sci-biology/shrimp/shrimp-2.0.1.ebuild
new file mode 100644
index 000000000000..a237b857823b
--- /dev/null
+++ b/sci-biology/shrimp/shrimp-2.0.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/shrimp/shrimp-2.0.1.ebuild,v 1.1 2010/07/25 18:01:15 weaver Exp $
+
+EAPI="2"
+
+MY_PV=${PV//./_}
+
+DESCRIPTION="SHort Read Mapping Package"
+HOMEPAGE="http://compbio.cs.toronto.edu/shrimp/"
+SRC_URI="http://compbio.cs.toronto.edu/shrimp/releases/SHRiMP_${MY_PV}.src.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-devel/gcc[openmp]"
+RDEPEND=""
+
+S="${WORKDIR}/SHRiMP_${MY_PV}"
+
+src_prepare() {
+ sed -i -e '1 a #include <stdint.h>' common/dag_glue.cpp || die
+ sed -i -e '1 a CXXFLAGS+= -O3 -mmmx -msse -msse2 -fopenmp' \
+ -e 's/-static//' "${S}/Makefile" || die
+}
+
+src_install() {
+ rm bin/README
+ dobin bin/* || die
+ insinto /usr/share/${PN}
+ doins -r utils || die
+ dodoc HISTORY README TODO SPLITTING_AND_MERGING
+}