Annotation of /trunk/extras/rdesktop/rdesktop-1.5.0-r3.smage2
Parent Directory
|
Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1228 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 8 months ago) by niro
File size: 1228 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/rdesktop/rdesktop-1.5.0-r3.smage2,v 1.1 2008/04/20 23:14:02 niro Exp $ |
2 | |||
3 | PNAME="rdesktop" | ||
4 | PVER="1.5.0" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="net-misc" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="A remote desktop protocol client for RDP 4/5." | ||
11 | HOMEPAGE="http://rdesktop.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= x11-libs/libX11-1 | ||
14 | >= x11-libs/libXext-1 | ||
15 | >= x11-libs/libXau-1 | ||
16 | >= x11-libs/libXdmcp-1 | ||
17 | >= dev-libs/openssl-0.9.8" | ||
18 | |||
19 | SDEPEND=">= sys-apps/sed-4 | ||
20 | >= x11-libs/libXt-1" | ||
21 | |||
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
24 | |||
25 | SRC_URI=( | ||
26 | sourceforge://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | mirror://${PNAME}/${PNAME}-${PVER}-libX11-segfault-fix.patch | ||
29 | ) | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | # fixes segfaults with >=libX11-1.1.1 | ||
37 | mpatch ${PNAME}-${PVER}-libX11-segfault-fix.patch || die | ||
38 | |||
39 | # force use of our CFLAGS | ||
40 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die | ||
41 | } | ||
42 | |||
43 | src_compile() | ||
44 | { | ||
45 | cd ${SRCDIR} | ||
46 | |||
47 | mconfigure \ | ||
48 | --with-openssl=/usr \ | ||
49 | --with-sound \ | ||
50 | --without-debug \ | ||
51 | --with-ipv6 \ | ||
52 | || die | ||
53 | |||
54 | mmake || die | ||
55 | } | ||
56 | |||
57 | src_install() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | mmake DESTDIR=${BINDIR} install || die | ||
62 | minstalldocs COPYING doc/HACKING doc/TODO doc/keymapping.txt || die | ||
63 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |