blob: fc3fe5060d63ecd4cabe48ad41ecbf0702f1d100 (
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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
JAVA_PKG_OPT_USE="gui"
inherit java-pkg-opt-2 python-single-r1
DESCRIPTION="A Network Correctness and Performance Testing Language"
HOMEPAGE="http://conceptual.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="BSD-2"
IUSE="gui test"
KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
virtual/mpi
${PYTHON_DEPS}
gui? ( virtual/jdk:* )"
DEPEND="${RDEPEND}"
src_compile() {
default
use gui && emake gui
}
src_install () {
default
if use gui; then
java-pkg_newjar gui/ncptlGUI-1.4.jar ${PN}.jar
java-pkg_dolauncher
fi
}
|