Magellan Linux

Annotation of /branches/R11-stable/extras/rdesktop/rdesktop-1.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20500 - (hide annotations) (download)
Mon Jan 27 09:31:11 2014 UTC (10 years, 3 months ago) by niro
File size: 1068 byte(s)
-release branches/R11-stable
1 niro 20296 # $Id$
2    
3     PNAME="rdesktop"
4     PVER="1.8.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.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     >= sys-apps/pcsc-lite-1.8"
18    
19     SDEPEND=">= virtual/sed
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     )
29    
30     UP2DATE="updatecmd_sourceforge ${PNAME} gz"
31    
32     src_prepare()
33     {
34     munpack ${SRCFILE} || die
35     cd ${SRCDIR}
36    
37     # force use of our CFLAGS
38     sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die
39     }
40    
41     src_compile()
42     {
43     cd ${SRCDIR}
44    
45     mconfigure \
46     --with-openssl=/usr \
47     --with-sound \
48     --without-debug \
49     --with-ipv6 \
50     --disable-credssp \
51     --enable-smartcard \
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     }