Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5889 - (show annotations) (download)
Fri Nov 28 12:11:42 2014 UTC (9 years, 5 months ago) by niro
File size: 1099 byte(s)
-added missing alsa-lib dep
1 # $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 >= media-libs/alsa-lib-1.0.27"
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_ONLY_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 # fix broken zlib link
45 sed -i 's:-lX11:-lX11 -lz:' Makefile.in || 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 }