net-analyzer/tsung: Add USE=gnuplot, #594340
authorAmir Ghassemi Nasr <Ameretat.Reith@gmail.com>
Sun, 4 Dec 2016 08:05:23 +0000 (11:35 +0330)
committerMichał Górny <mgorny@gentoo.org>
Sun, 21 May 2017 21:03:42 +0000 (23:03 +0200)
Closes: https://github.com/gentoo/gentoo/pull/3004

net-analyzer/tsung/tsung-1.6.0.ebuild

index 392db3cc45532954e56f3b2d2e82d432ea26b85c..532e451fbaf447cdee5471039aefbf5948eae393 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="3"
@@ -15,11 +15,16 @@ SRC_URI="http://tsung.erlang-projects.org/dist/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="gnuplot"
 
 DEPEND="dev-lang/erlang"
-RDEPEND=${DEPEND}
-
+RDEPEND="
+       gnuplot? (
+               sci-visualization/gnuplot
+               dev-perl/Template-Toolkit
+       )
+       ${DEPEND}
+"
 src_configure() {
        ./configure --prefix="/usr" || die "econf failed"
 }