blob: b34d00134f8d18e829566f74d39d390cdb1e4ca0 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Whole genome shotgun OLC assembler for Sanger reads (overlap-layout-contig)"
HOMEPAGE="https://genome.cshlp.org/content/12/1/177.abstract"
SRC_URI="ftp://ftp.broadinstitute.org/pub/crd/ARACHNE/latest_source_code/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="doc openmp"
DEPEND="dev-libs/xerces-c
doc? ( virtual/latex-base app-text/dvipsk )"
RDEPEND="${DEPEND}"
# needs >=g++-4.7 but does not compile with 5.3.0
# --disable-openmp to disable requirement for OpenMP-capable compiler
src_configure() {
local myconf=()
use openmp || myconf+=( --disable-openmp )
econf ${myconf[@]}
}
# set the following environment variables
# http://www.broadinstitute.org/crd/wiki/index.php/Setup
#
# ARACHNE_PRE
# ARACHNE_BIN_DIR
# ARACHNE_PRETTY_HELP
pkg_postinst(){
einfo "Please add these to your ~/.bashrc"
einfo "limit stacksize 100000"
einfo "limit datasize unlimited"
}
|