blob: 5723168881ea24f1b86d2e684a12b1cbf78e0a78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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-1.3.1.ebuild,v 1.3 2010/01/03 14:19:01 pacho 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=""
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' \
-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 MEMORY
}
|