linamh/net-misc/opennx/opennx-0.16.ebuild
geos_one 677e030bbd add ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
2010-10-04 19:24:16 +00:00

45 lines
976 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
WX_GTK_VER="2.8"
inherit eutils wxwidgets
DESCRIPTION="OpenNX is an OSS drop-in replacement for Nomachine's nxclient"
HOMEPAGE="http://sourceforge.net/projects/opennx/"
SRC_URI="mirror://sourceforge/opennx/opennx/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/wxGTK:2.8
dev-libs/opensc
net-print/cups
dev-libs/libusb
net-fs/samba[client]
net-misc/nx"
RDEPEND="${DEPEND}
!net-misc/nxclient"
PROVIDE="virtual/nxclient"
src_configure() {
need-wxwidgets gtk2
econf \
--with-wx-config="${WX_CONFIG}" || die "econf failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
# nxssh expects the client to be named nxclient so create a symlink
# to make this hardcoded app happy
dosym opennx /usr/bin/nxclient || die "failed creating symlink"
dodoc ChangeLog
}