diff options
Diffstat (limited to 'net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild')
-rw-r--r-- | net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild index 562d1fe7c8dc..54939422d159 100644 --- a/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild +++ b/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild,v 1.1 2015/02/14 18:41:00 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-scanner/openvas-scanner-5.0_beta6.ebuild,v 1.2 2015/02/14 18:55:15 jlec Exp $ EAPI=5 @@ -17,14 +17,20 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t SLOT="0" LICENSE="GPL-2" KEYWORDS="" -IUSE="" +IUSE="postgres sqlite" + +REQUIRED_USE="^^ ( postgres sqlite )" RDEPEND=" + app-crypt/gpgme >=dev-libs/glib-2.16:2 dev-libs/libgcrypt:0 >=net-analyzer/openvas-libraries-8_beta6 !net-analyzer/openvas-plugins - !net-analyzer/openvas-server" + !net-analyzer/openvas-server + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 ) + " DEPEND="${RDEPEND} virtual/pkgconfig" @@ -47,6 +53,7 @@ src_configure() { local mycmakeargs=( "-DLOCALSTATEDIR=${EPREFIX}/var" "-DSYSCONFDIR=${EPREFIX}/etc" + $(usex postgres "-DBACKEND=POSTGRESQL" "-DBACKEND=SQLITE3") ) cmake-utils_src_configure } |