Magellan Linux

Annotation of /branches/magellan-next/core/rdesktop/rdesktop-1.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7988 - (hide annotations) (download)
Mon Jun 27 22:44:15 2011 UTC (12 years, 11 months ago) by niro
File size: 1019 byte(s)
auto added: ver bump to 1.7.0-r1
1 niro 7988 # $Id$
2    
3     PNAME="rdesktop"
4     PVER="1.7.0"
5     PBUILD="r1"
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.4
14     >= x11-libs/libXext-1.3
15     >= x11-libs/libXau-1
16     >= x11-libs/libXdmcp-1
17     >= dev-libs/openssl-1.0.0"
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     )
29    
30     UP2DATE="updatecmd_sourceforge ${PNAME}"
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     || 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     }