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

EAPI=5

inherit java-pkg-2

[ "$PV" == "9999" ] && inherit git-r3

DESCRIPTION="GUI for Velvet de novo assembler"
HOMEPAGE="http://www.vicbioinformatics.com/software.vague.shtml"

if [ "$PV" == "9999" ]; then
	EGIT_REPO_URI="https://github.com/Victorian-Bioinformatics-Consortium/vague"
	KEYWORDS=""
else
	SRC_URI="http://www.vicbioinformatics.com/vague-${PV}.tar.gz"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-2"
SLOT="0"

RDEPEND="
	>=virtual/jre-1.5:*
	sci-biology/velvet
	sci-biology/velvetk"
DEPEND=">=virtual/jdk-1.5:*"

S="${WORKDIR}"/vague-${PV}

src_prepare(){
	epatch "${FILESDIR}"/vague.patch
}

src_install(){
	dobin vague
	java-pkg_dojar vague.jar
}