Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / rdesktop / rdesktop_1.3.1.oe
1 # rdesktop OE build file
2 # Copyright (C) 2004, Advanced Micro Devices, Inc.  All Rights Reserved
3 # Released under the MIT license (see packages/COPYING)
4
5 DESCRIPTION = "RDesktop is a X11 based RDP client"
6 HOMEPAGE = "http://www.rdesktop.org/"
7 LICENSE = "GPL"
8 DEPENDS = "x11 openssl"
9 RDEPENDS= "openssl"
10 SECTION = "x11/network"
11
12 SRC_URI="${SOURCEFORGE_MIRROR}/rdesktop/rdesktop-${PV}.tar.gz \
13         file://configure.patch;patch=1"
14
15 # Note - rdesktop 1.3.1 doesn't use autotools - don't make the same
16 # mistakes I did.. :)
17
18 do_configure() {
19         ${S}/configure \
20         --prefix=${prefix} \
21         --exec-prefix=${exec_prefix} \
22         --bindir=${bindir} \
23         --mandir=${mandir} \
24         --sharedir=${datadir} \
25         --with-x=${STAGING_DIR}/${HOST_SYS} \
26         --with-openssl=${STAGING_DIR}/${HOST_SYS} \
27         --with-oss \
28         --without-debug  
29 }
30
31 do_compile() {
32         oe_runmake 'KEYMAP_PATH=${datadir}/keymaps/' 
33 }
34
35 do_install() {
36         oe_runmake DESTDIR=${D} install
37 }