Contents of /smage/trunk/extras/rdesktop/rdesktop-1.8.3-r1.smage2
Parent Directory | Revision Log
Revision 8444 -
(show annotations)
(download)
Thu Jan 28 10:33:23 2016 UTC (8 years, 3 months ago) by niro
File size: 1136 byte(s)
Thu Jan 28 10:33:23 2016 UTC (8 years, 3 months ago) by niro
File size: 1136 byte(s)
auto added: ver bump to 1.8.3-r1
1 | # $Id$ |
2 | |
3 | PNAME="rdesktop" |
4 | PVER="1.8.3" |
5 | PBUILD="r1" |
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.0.2 |
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 | ALX_PKG_KEEP="usr/bin/rdesktop |
27 | usr/share/rdesktop/keymaps/common |
28 | usr/share/rdesktop/keymaps/modifiers |
29 | usr/share/rdesktop/keymaps/de" |
30 | sminclude mbuild alx-split |
31 | |
32 | SRC_URI=( |
33 | sourceforge://${PNAME}/${SRCFILE} |
34 | mirror://${PNAME}/${SRCFILE} |
35 | ) |
36 | |
37 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
38 | |
39 | src_prepare() |
40 | { |
41 | munpack ${SRCFILE} || die |
42 | cd ${SRCDIR} |
43 | |
44 | cd ${SRCDIR} |
45 | |
46 | # force use of our CFLAGS |
47 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
48 | } |
49 | |
50 | src_compile() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | mconfigure \ |
55 | --with-openssl=/usr \ |
56 | --with-sound \ |
57 | --without-debug \ |
58 | --with-ipv6 \ |
59 | --disable-credssp \ |
60 | --enable-smartcard \ |
61 | || die |
62 | |
63 | mmake || die |
64 | } |