Magellan Linux

Contents of /trunk/extras/rdesktop/rdesktop-1.8.3-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30336 - (show annotations) (download)
Thu Dec 7 13:59:43 2017 UTC (6 years, 5 months ago) by niro
File size: 1101 byte(s)
auto added: ver bump to 1.8.3-r3
1 # $Id$
2
3 PNAME="rdesktop"
4 PVER="1.8.3"
5 PBUILD="r3"
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.1
17 >= media-libs/libsamplerate-0.1.8
18 >= sys-apps/pcsc-lite-1.8"
19
20 SDEPEND=">= virtual/sed
21 >= x11-libs/libXt-1"
22
23 SRCFILE="${PNAME}-${PVER}.tar.gz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 SRC_URI=(
27 sourceforge://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} || die
36 cd ${SRCDIR}
37
38 # force use of our CFLAGS
39 sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die
40 }
41
42 src_compile()
43 {
44 cd ${SRCDIR}
45
46 mconfigure \
47 --with-openssl=/usr \
48 --with-sound \
49 --without-debug \
50 --with-ipv6 \
51 --disable-credssp \
52 --enable-smartcard \
53 || die
54
55 mmake || die
56 }
57
58 src_install()
59 {
60 cd ${SRCDIR}
61
62 mmake DESTDIR=${BINDIR} install || die
63 minstalldocs COPYING doc/HACKING doc/TODO doc/keymapping.txt || die
64 }