Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30749 - (show annotations) (download)
Tue Mar 27 12:31:14 2018 UTC (6 years, 1 month ago) by niro
File size: 1365 byte(s)
-added openssl-1.1 fixes
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 mirror://${PNAME}/${PNAME}-${PVER}-openssl-1.1-fixes.patch
30 mirror://${PNAME}/${PNAME}-${PVER}-openssl-1.1-x509-fixes.patch
31 )
32
33 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
34
35 src_prepare()
36 {
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # openssl-1.1 fixes
41 mpatch ${PNAME}-${PVER}-openssl-1.1-fixes.patch || die
42 mpatch ${PNAME}-${PVER}-openssl-1.1-x509-fixes.patch || die
43
44 # force use of our CFLAGS
45 sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 mconfigure \
53 --with-openssl=/usr \
54 --with-sound \
55 --without-debug \
56 --with-ipv6 \
57 --disable-credssp \
58 --enable-smartcard \
59 || die
60
61 mmake || die
62 }
63
64 src_install()
65 {
66 cd ${SRCDIR}
67
68 mmake DESTDIR=${BINDIR} install || die
69 minstalldocs COPYING doc/HACKING doc/TODO doc/keymapping.txt || die
70 }