summaryrefslogtreecommitdiff
path: root/recipes/qtnx/qtnx.inc
blob: e86b17a15e8aa6d3fd38c862ecc4036d17917577 (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
37
38
39
DESCRIPTION = "This a the freesource nx client, build with qt"
HOMEPAGE = "http://freenx.berlios.de/"
SECTION = "libs"
LICENSE = "GPL"
PR = "r4"

DEPENDS = "libnxcl"

SRC_URI = "http://download.berlios.de/freenx/freenx-client-${PV}.tar.bz2 \
	   file://qtnx.desktop \
	   file://pro.patch;patch=1 \
	   file://id-path.patch;patch=1 \
	   file://scroll.patch;patch=1 \
           file://keymap.patch;patch=1 \
           file://dodnx.patch;patch=1 \
           file://keychooser.patch;patch=1 \
           file://sessionfiles.patch;patch=1 \
           file://ssh_dnserror.patch;patch=1 \
	  "

S = "${WORKDIR}/freenx-client-${PV}/qtnx"

FILES_${PN} += ${datadir}/id.key

do_configure_prepend () {

	rm ${S}/qtnxwin32.pro

}

do_install () {
       install -d ${D}${bindir}/
       install -m 0755 qtnx ${D}${bindir}/
       install -d ${D}${datadir}/qtnx
       install -m 0644 id.key ${D}${datadir}/qtnx
       install -d ${D}${datadir}/applications
       install -m 0644 ${WORKDIR}/qtnx.desktop ${D}${datadir}/applications
}