summaryrefslogtreecommitdiff
path: root/packages/rdesktop/rdesktop_1.3.1.bb
blob: 7695b336d311f1ac91a470c97fa3394cbb3fdc8c (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
# rdesktop OE build file
# Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DESCRIPTION = "RDesktop is a X11 based RDP client"
HOMEPAGE = "http://www.rdesktop.org/"
LICENSE = "GPL"
DEPENDS = "virtual/x11 openssl"
RDEPENDS= "openssl"
SECTION = "x11/network"

SRC_URI="${SOURCEFORGE_MIRROR}/rdesktop/rdesktop-${PV}.tar.gz \
	file://configure.patch;patch=1"

# Note - rdesktop 1.3.1 doesn't use autotools - don't make the same
# mistakes I did.. :)

do_configure() {
	${S}/configure \
	--prefix=${prefix} \
	--exec-prefix=${exec_prefix} \
	--bindir=${bindir} \
	--mandir=${mandir} \
	--sharedir=${datadir} \
	--with-x=${STAGING_DIR}/${HOST_SYS} \
	--with-openssl=${STAGING_DIR}/${HOST_SYS} \
	--with-oss \
	--without-debug	 
}

do_compile() {
	oe_runmake 'KEYMAP_PATH=${datadir}/keymaps/' 
}

do_install() {
	oe_runmake DESTDIR=${D} install
}