Magellan Linux

Annotation of /smage/branches/alx-0_6_0/extras/rdesktop/rdesktop-1.8.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5888 - (hide annotations) (download)
Fri Nov 28 11:25:54 2014 UTC (9 years, 6 months ago) by niro
File size: 1068 byte(s)
-no need to patch
1 niro 5887 # $Id$
2    
3     PNAME="rdesktop"
4     PVER="1.8.3"
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     >= 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     ALX_ONLY_KEEP="usr/bin/rdesktop
26     usr/share/rdesktop/keymaps/common
27     usr/share/rdesktop/keymaps/modifiers
28     usr/share/rdesktop/keymaps/de"
29     sminclude mbuild alx-split
30    
31     SRC_URI=(
32     sourceforge://${PNAME}/${SRCFILE}
33     mirror://${PNAME}/${SRCFILE}
34     )
35    
36     UP2DATE="updatecmd_sourceforge ${PNAME}"
37    
38     src_prepare()
39     {
40     munpack ${SRCFILE} || die
41     cd ${SRCDIR}
42    
43     # fix broken zlib link
44     sed -i 's:-lX11:-lX11 -lz:' Makefile.in || die
45     }
46    
47     src_compile()
48     {
49     cd ${SRCDIR}
50    
51     mconfigure \
52     --with-openssl=/usr \
53     --with-sound \
54     --without-debug \
55     --with-ipv6 \
56     --disable-credssp \
57     --enable-smartcard \
58     || die
59    
60     mmake || die
61     }