diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-11-21 02:31:02 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-11-21 02:31:02 +0000 |
commit | 8f2400efe9ea5e2875b1c4997e3aa2548c82cf3c (patch) | |
tree | 375ee126202b8742253264103e13a42ad9446b17 /net-analyzer | |
parent | Bumped pkgcore-checks to 0.4.5 as requested by Brian Harring (ferringb). (diff) | |
download | gentoo-2-8f2400efe9ea5e2875b1c4997e3aa2548c82cf3c.tar.gz gentoo-2-8f2400efe9ea5e2875b1c4997e3aa2548c82cf3c.tar.bz2 gentoo-2-8f2400efe9ea5e2875b1c4997e3aa2548c82cf3c.zip |
openvas-client: allow not building gtk-gui
(Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc5 x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/openvas-client/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/openvas-client/openvas-client-1.0.4.ebuild | 13 |
2 files changed, 13 insertions, 5 deletions
diff --git a/net-analyzer/openvas-client/ChangeLog b/net-analyzer/openvas-client/ChangeLog index 623df3e2a3ce..94b29c73d45e 100644 --- a/net-analyzer/openvas-client/ChangeLog +++ b/net-analyzer/openvas-client/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/openvas-client # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-client/ChangeLog,v 1.4 2008/08/18 11:54:04 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-client/ChangeLog,v 1.5 2008/11/21 02:31:02 hanno Exp $ + + 21 Nov 2008; Hanno Boeck <hanno@gentoo.org> openvas-client-1.0.4.ebuild: + Add gtk use flag to disable gui. 18 Aug 2008; Peter Volkov <pva@gentoo.org> openvas-client-1.0.4.ebuild: Added ~amd64 keyword, thank alexxy for report. diff --git a/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild b/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild index f9a6275f3d9c..fd26d93f9790 100644 --- a/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild +++ b/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild,v 1.2 2008/08/18 11:54:04 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-client/openvas-client-1.0.4.ebuild,v 1.3 2008/11/21 02:31:02 hanno Exp $ inherit eutils @@ -10,14 +10,19 @@ SRC_URI="http://wald.intevation.org/frs/download.php/466/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="gtk" DEPEND="net-libs/gnutls - >=x11-libs/gtk+-2.8.8" + gtk? ( >=x11-libs/gtk+-2.8.8 )" MAKEOPTS="${MAKEOPTS} -j1" +src_compile() { + econf $(use_enable gtk) || die "econf failed" + emake || die "emake failed" +} + src_install() { - emake DESTDIR="${D}" install || die "emake failed" + emake DESTDIR="${D}" install || die "install failed" dodoc AUTHORS CHANGES README TODO || die "dodoc failed" make_desktop_entry OpenVASClient "OpenVAS Client" /usr/share/pixmaps/openvas-client.png "Application;Network;" |