aboutsummaryrefslogtreecommitdiff
blob: 1052245310fcfbf243c374d6233ecef87e6adfd6 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit eutils

DESCRIPTION="Whole genome shotgun assembler using phrap (for Sanger-based reads)"
HOMEPAGE="http://www.sanger.ac.uk/resources/software/phusion/"
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${P}.tar.gz"

LICENSE="all-rights-reserved" # temporarily placed value
# from http://genome.cshlp.org/content/13/1/81.full
# Availability
# Phusion is undergoing a rewrite of the code to make this a portable package. It will be made available free of charge to academic sites, but requires licensing for commercial use. For more information please contact the authors.
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="app-shells/tcsh
	sys-cluster/openmpi"
RDEPEND="${DEPEND}
	sci-biology/phrap
	dev-lang/perl"

# contains bundled ssaha
# file collision with sci-biology/shrimp on /usr/bin/fasta2fastq

S="${WORKDIR}"

src_prepare(){
	rm -f phusion2 *.o
	sed -e 's/^CFLAGS =/# CFLAGS =/' -i Makefile || die
}

src_install(){
	dobin ctgreads.pl phusion2
	dodoc how_to_make_mates
}