Contents of /branches/R11-stable/extras/rdesktop/rdesktop-1.7.1-r1.smage2
Parent Directory | Revision Log
Revision 15356 -
(show annotations)
(download)
Wed Jan 2 11:34:41 2013 UTC (11 years, 8 months ago) by niro
File size: 996 byte(s)
Wed Jan 2 11:34:41 2013 UTC (11 years, 8 months ago) by niro
File size: 996 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="rdesktop" |
4 | PVER="1.7.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="A remote desktop protocol client for RDP 4/5." |
10 | HOMEPAGE="http://rdesktop.sourceforge.net/" |
11 | |
12 | DEPEND=">= x11-libs/libX11-1.4 |
13 | >= x11-libs/libXext-1.3 |
14 | >= x11-libs/libXau-1 |
15 | >= x11-libs/libXdmcp-1 |
16 | >= dev-libs/openssl-1.0.0" |
17 | |
18 | SDEPEND=">= sys-apps/sed-4 |
19 | >= x11-libs/libXt-1" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | SRC_URI=( |
25 | sourceforge://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${SRCFILE} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # force use of our CFLAGS |
37 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | mconfigure \ |
45 | --with-openssl=/usr \ |
46 | --with-sound \ |
47 | --without-debug \ |
48 | --with-ipv6 \ |
49 | || die |
50 | |
51 | mmake || die |
52 | } |
53 | |
54 | src_install() |
55 | { |
56 | cd ${SRCDIR} |
57 | |
58 | mmake DESTDIR=${BINDIR} install || die |
59 | minstalldocs COPYING doc/HACKING doc/TODO doc/keymapping.txt || die |
60 | } |