summaryrefslogtreecommitdiff
blob: 80940ea2f4aad9e9de742c55e731ecc0d8f95146 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

# Seems to be misconfigured
RESTRICT="test"

inherit eutils

DESCRIPTION="Erlang's multi-protocol distributed load testing tool"
HOMEPAGE="http://tsung.erlang-projects.org/"
SRC_URI="http://tsung.erlang-projects.org/dist/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnuplot"

DEPEND="dev-lang/erlang"
RDEPEND="
	gnuplot? (
		sci-visualization/gnuplot
		dev-perl/Template-Toolkit
	)
	${DEPEND}
"
src_configure() {
	./configure --prefix="/usr" || die "econf failed"
}

src_compile() {
	emake
}

src_install() {
	emake -j1 DESTDIR="${D}" install
}