blob: a89aca5f57b1e874ff94b7e12f9a2cd94734ea75 (
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
36
37
38
39
40
41
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Scaffold next-generation sequencing assemblies"
HOMEPAGE="https://github.com/AlexeyG/GRASS"
SRC_URI="https://github.com/AlexeyG/GRASS/archive/master.zip -> grass-20130628.zip
https://tud-scaffolding.googlecode.com/files/GRASS%20manual.pdf -> grass_manual.pdf"
# EGIT_REPO_URI="https://github.com/AlexeyG/GRASS.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
# some IBM development CPLEX library?
# ilcplex/ilocplex.h: No such file or directory
# https://github.com/AlexeyG/GRASS/issues/6
DEPEND="sci-biology/bamtools
sci-biology/ncbi-tools++
sys-cluster/openmpi"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/GRASS-master
src_prepare(){
sed -e 's#/data/bio/alexeygritsenk/apps/include/ncbi-tools++#/usr/include/ncbi-tools++#' -i Makefile.config || die
sed -e 's#/data/bio/alexeygritsenk/apps/include/#/usr/include/bamtools#' -i Makefile.config || die
sed -e 's#/data/bio/alexeygritsenk/apps/lib#/usr/lib64#' -i Makefile.config || die
}
src_compile(){
emake all
}
src_install(){
dodoc "${DISTDIR}"/grass_manual.pdf manual/manual.tex
dobin bin/*
}
|