Magellan Linux

Contents of /smage/trunk/extras/rdesktop/rdesktop-1.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3309 - (show annotations) (download)
Tue Nov 22 15:16:40 2011 UTC (12 years, 6 months ago) by niro
File size: 1038 byte(s)
-fixed build against newer pcsc-lite
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 SRC_URI=(
26 sourceforge://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-${PVER}-pcsc17.patch
29 )
30
31 UP2DATE="updatecmd_sourceforge ${PNAME}"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # fix build against newer pcsc-lite
39 mpatch ${PNAME}-${PVER}-pcsc17.patch || die
40
41 # force use of our CFLAGS
42 sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die
43 }
44
45 src_compile()
46 {
47 cd ${SRCDIR}
48
49 mconfigure \
50 --with-openssl=/usr \
51 --with-sound \
52 --without-debug \
53 --with-ipv6 \
54 --enable-smartcard \
55 || die
56
57 mmake || die
58 }