Annotation of /smage/trunk/extras/rdesktop/rdesktop-1.8.3-r3.smage2
Parent Directory | Revision Log
Revision 11648 -
(hide annotations)
(download)
Thu Dec 28 10:39:42 2017 UTC (6 years, 5 months ago) by niro
File size: 1378 byte(s)
Thu Dec 28 10:39:42 2017 UTC (6 years, 5 months ago) by niro
File size: 1378 byte(s)
auto added: ver bump to 1.8.3-r3
1 | niro | 11648 | # $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-compat-1.0 | ||
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 | >= x11-libs/libX11-dev-1.6 | ||
23 | >= x11-libs/libXext-dev-1.3 | ||
24 | >= x11-libs/libXau-dev-1 | ||
25 | >= x11-libs/libXdmcp-dev-1 | ||
26 | >= dev-libs/openssl-compat-dev-1.0 | ||
27 | >= media-libs/libsamplerate-dev-0.1.8 | ||
28 | >= sys-apps/pcsc-lite-dev-1.8" | ||
29 | |||
30 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
31 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
32 | |||
33 | ALX_PKG_KEEP="usr/bin/rdesktop | ||
34 | usr/share/rdesktop/keymaps/common | ||
35 | usr/share/rdesktop/keymaps/modifiers | ||
36 | usr/share/rdesktop/keymaps/de" | ||
37 | sminclude mbuild alx-split | ||
38 | |||
39 | SRC_URI=( | ||
40 | sourceforge://${PNAME}/${SRCFILE} | ||
41 | mirror://${PNAME}/${SRCFILE} | ||
42 | ) | ||
43 | |||
44 | UP2DATE="updatecmd_sourceforge ${PNAME}" | ||
45 | |||
46 | src_prepare() | ||
47 | { | ||
48 | munpack ${SRCFILE} || die | ||
49 | cd ${SRCDIR} | ||
50 | |||
51 | cd ${SRCDIR} | ||
52 | |||
53 | # force use of our CFLAGS | ||
54 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die | ||
55 | } | ||
56 | |||
57 | src_compile() | ||
58 | { | ||
59 | cd ${SRCDIR} | ||
60 | |||
61 | mconfigure \ | ||
62 | --with-openssl=/usr/include/openssl-1.0 \ | ||
63 | --with-sound \ | ||
64 | --without-debug \ | ||
65 | --with-ipv6 \ | ||
66 | --disable-credssp \ | ||
67 | --enable-smartcard \ | ||
68 | || die | ||
69 | |||
70 | mmake || die | ||
71 | } |