Magellan Linux

Contents of /trunk/extras/rdesktop/rdesktop-1.8.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19757 - (show annotations) (download)
Thu Oct 17 08:34:21 2013 UTC (10 years, 7 months ago) by niro
File size: 1018 byte(s)
-disable CredSPP atm
1 # $Id$
2
3 PNAME="rdesktop"
4 PVER="1.8.0"
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.6
13 >= x11-libs/libXext-1.3
14 >= x11-libs/libXau-1
15 >= x11-libs/libXdmcp-1
16 >= dev-libs/openssl-1.0.1"
17
18 SDEPEND=">= virtual/sed
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} gz"
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 --disable-credssp \
50 || die
51
52 mmake || die
53 }
54
55 src_install()
56 {
57 cd ${SRCDIR}
58
59 mmake DESTDIR=${BINDIR} install || die
60 minstalldocs COPYING doc/HACKING doc/TODO doc/keymapping.txt || die
61 }