summaryrefslogtreecommitdiff
blob: 5a50223aa64b54907373ff027aa2db1a22b3a550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit qt4 subversion

DESCRIPTION="A Qt-based NX client using nxcl"
HOMEPAGE="http://svn.berlios.de/wsvn/freenx/qtnx"

ESVN_REPO_URI="svn://svn.berlios.de/freenx/trunk/freenx-client/qtnx"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="net-misc/nxcl"
RDEPEND="${DEPEND}"

src_unpack() {
	subversion_src_unpack
	cd "${S}"
	sed -i -e "s#id\.key#/usr/share/${PN}/id.key#" qtnxwindow.cpp || die "sed failed"
}
src_compile() {
	eqmake4
	emake || die "Make failed"
}

src_install() {
	dobin ${PN}
	dodoc README

	insinto /usr/share/${PN}
	doins id.key
}