aboutsummaryrefslogtreecommitdiff
blob: 72f7bca0b9a99f17bc9ee2e609416bb1a3ee86c7 (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
42
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="CAP3 is for small-scale assembly of EST sequences with or without quality value"
HOMEPAGE="http://seq.cs.iastate.edu"
# These exist currently and contain version 20071221:
# http://seq.cs.iastate.edu/CAP3/cap3.linux.tar
# http://seq.cs.iastate.edu/CAP3/cap3.linux.i686_xeon64.tar
# http://seq.cs.iastate.edu/CAP3/cap3.linux.opteron64.tar

# The /pub/ directory is gone although contained same version of binaries but for some different platforms:
# http://seq.cs.iastate.edu/CAP3/cap3.linux.opteron64.tar
# http://seq.cs.iastate.edu/CAP3/cap3.linux.i686_xeon64.taran old version (2009)

SRC_URI="
	x86? ( http://seq.cs.iastate.edu/CAP3/cap3.linux.tar )
	amd64? ( http://seq.cs.iastate.edu/CAP3/cap3.linux.x86_64.tar )"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

S="${WORKDIR}/CAP3"

src_install() {
	exeinto /opt/${PN}
	doexe cap3 formcon
	dosym ../${PN}/cap3 /opt/bin/cap3
	dosym ../${PN}/formcon /opt/bin/formcon
	dodoc README
	newdoc doc.txt cap3.txt
	newdoc aceform ACE_file_format.txt
	# other examples
	# http://seq.cs.iastate.edu/pub/CAP3/data.tar
	dodir /usr/share/cap3/examples
	insinto /usr/share/cap3
	doins -r example
}