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

EAPI=5

inherit toolchain-funcs

DESCRIPTION="Parse and filter BLAST output into tab-delimited file"
HOMEPAGE="http://brendelgroup.org/bioinformatics2go/MuSeqBox.php"
SRC_URI="http://www.brendelgroup.org/bioinformatics2go/Download/MuSeqBox-4-8-2015.tar.gz"
# code will move to https://github.com/BrendelGroup

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}/MUSEQBOX5.4"

src_compile(){
	cd src || die
	$(tc-getCXX) ${CFLAGS} -DLINUX -c MuSeqBox.C || die
	$(tc-getCXX) ${CFLAGS} ${LDFLAGS} -DLINUX MuSeqBox.o -o ../bin/MuSeqBox || die
}

src_install(){
	dobin bin/*
	dodoc 0README
	insinto /usr/share/"${PN}"
	doins doc/*.ps doc/*.pdf
	doins -r data
	doman doc/MuSeqBox.1
}