diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-28 21:48:01 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-28 21:48:01 +0000 |
commit | d0a8c16288495da06afa097d8b4c2dea77f196dc (patch) | |
tree | 9d2329df217b41f5d030075ffa89eb2806b39093 /net-misc/nxnode | |
parent | Remove old version. (diff) | |
download | gentoo-2-d0a8c16288495da06afa097d8b4c2dea77f196dc.tar.gz gentoo-2-d0a8c16288495da06afa097d8b4c2dea77f196dc.tar.bz2 gentoo-2-d0a8c16288495da06afa097d8b4c2dea77f196dc.zip |
Migrate to EAPI 2 in order to remove built_with_use usage.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'net-misc/nxnode')
-rw-r--r-- | net-misc/nxnode/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/nxnode/nxnode-3.3.0.17.ebuild | 24 |
2 files changed, 9 insertions, 20 deletions
diff --git a/net-misc/nxnode/ChangeLog b/net-misc/nxnode/ChangeLog index 4063f2e06a2f..3ff21900ee6d 100644 --- a/net-misc/nxnode/ChangeLog +++ b/net-misc/nxnode/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/nxnode # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.43 2009/05/29 13:54:39 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/ChangeLog,v 1.44 2009/08/28 21:48:01 betelgeuse Exp $ + + 28 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> nxnode-3.3.0.17.ebuild: + Migrate to EAPI 2 in order to remove built_with_use usage. 29 May 2009; Bernard Cafarelli <voyageur@gentoo.org> -nxnode-3.2.0.ebuild, -nxnode-3.2.0-r3.ebuild, -nxnode-3.2.0.13.ebuild: diff --git a/net-misc/nxnode/nxnode-3.3.0.17.ebuild b/net-misc/nxnode/nxnode-3.3.0.17.ebuild index ad4445b4c04e..1f3a455d589f 100644 --- a/net-misc/nxnode/nxnode-3.3.0.17.ebuild +++ b/net-misc/nxnode/nxnode-3.3.0.17.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.3.0.17.ebuild,v 1.1 2009/03/25 23:00:20 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxnode/nxnode-3.3.0.17.ebuild,v 1.2 2009/08/28 21:48:01 betelgeuse Exp $ + +EAPI="2" inherit eutils versionator @@ -29,7 +31,7 @@ RDEPEND="=net-misc/nxclient-3.3* x11-libs/libXpm x11-apps/xrdb rdesktop? ( net-misc/rdesktop ) - vnc? ( || ( net-misc/vnc net-misc/tightvnc ) )" + vnc? ( || ( net-misc/vnc[server] net-misc/tightvnc[server] ) )" S=${WORKDIR}/NX @@ -38,24 +40,8 @@ pkg_preinst() enewuser nx -1 -1 /usr/NX/home/nx } -pkg_setup() { - if use vnc; then - if has_version net-misc/vnc && ! built_with_use net-misc/vnc server; - then - die "net-misc/vnc needs to be built with USE=\"server\" for VNC support" - fi - - if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server; - then - die "net-misc/tightvnc needs to be built with USE=\"server\" for VNC support" - fi - fi -} - -src_unpack() +src_prepare() { - unpack ${A} - cd "${S}" epatch "${FILESDIR}"/nxnode-3.0.0-setup.patch } |