Contents of /smage/trunk/extras/rdesktop/rdesktop-1.7.0-r1.smage2
Parent Directory | Revision Log
Revision 3310 -
(show annotations)
(download)
Tue Nov 22 15:21:33 2011 UTC (12 years, 6 months ago) by niro
File size: 1057 byte(s)
Tue Nov 22 15:21:33 2011 UTC (12 years, 6 months ago) by niro
File size: 1057 byte(s)
-fixed missing include
1 | # $Id$ |
2 | |
3 | PNAME="rdesktop" |
4 | PVER="1.7.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="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=">= virtual/sed |
19 | >= x11-libs/libXt-1 |
20 | >= sys-apps/pcsc-lite-1.7" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | sminclude mbuild |
26 | |
27 | SRC_URI=( |
28 | sourceforge://${PNAME}/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | mirror://${PNAME}/${PNAME}-${PVER}-pcsc17.patch |
31 | ) |
32 | |
33 | |
34 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
35 | |
36 | src_prepare() |
37 | { |
38 | munpack ${SRCFILE} || die |
39 | cd ${SRCDIR} |
40 | |
41 | # fix build against newer pcsc-lite |
42 | mpatch ${PNAME}-${PVER}-pcsc17.patch || die |
43 | |
44 | # force use of our CFLAGS |
45 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
46 | } |
47 | |
48 | src_compile() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | mconfigure \ |
53 | --with-openssl=/usr \ |
54 | --with-sound \ |
55 | --without-debug \ |
56 | --with-ipv6 \ |
57 | --enable-smartcard \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |