Magellan Linux

Contents of /smage/trunk/extras/rdesktop/rdesktop-1.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4680 - (show annotations) (download)
Tue Mar 26 09:44:09 2013 UTC (11 years, 6 months ago) by niro
File size: 1167 byte(s)
auto added: ver bump to 1.7.1-r1
1 # $Id$
2
3 PNAME="rdesktop"
4 PVER="1.7.1"
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.5
13 >= x11-libs/libXext-1.3
14 >= x11-libs/libXau-1
15 >= x11-libs/libXdmcp-1
16 >= dev-libs/openssl-1.0.1
17 >= sys-apps/pcsc-lite-1.8"
18
19 SDEPEND=">= virtual/sed
20 >= x11-libs/libXt-1"
21
22 SRCFILE="${PNAME}-${PVER}.tar.gz"
23 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
24
25 ALX_PKG_KEEP="usr/bin/rdesktop
26 usr/share/rdesktop/keymaps/common
27 usr/share/rdesktop/keymaps/modifiers
28 usr/share/rdesktop/keymaps/de"
29 sminclude mbuild alx-split
30
31 SRC_URI=(
32 sourceforge://${PNAME}/${SRCFILE}
33 mirror://${PNAME}/${SRCFILE}
34 mirror://${PNAME}/${PNAME}-1.7.0-pcsc17.patch
35 )
36
37 UP2DATE="updatecmd_sourceforge ${PNAME}"
38
39 src_prepare()
40 {
41 munpack ${SRCFILE} || die
42 cd ${SRCDIR}
43
44 # fix build against newer pcsc-lite
45 mpatch ${PNAME}-1.7.0-pcsc17.patch || die
46
47 # fix broken zlib link
48 sed -i 's:-lX11:-lX11 -lz:' Makefile.in || die
49 }
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54
55 mconfigure \
56 --with-openssl=/usr \
57 --with-sound \
58 --without-debug \
59 --with-ipv6 \
60 --enable-smartcard \
61 || die
62
63 mmake || die
64 }