Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/rdesktop/rdesktop-1.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7528 - (show annotations) (download)
Mon Sep 21 09:03:19 2015 UTC (8 years, 7 months ago) by niro
File size: 1039 byte(s)
-release branches/alx07x-unstable
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 )
35
36 UP2DATE="updatecmd_sourceforge ${PNAME}"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # fix broken zlib link
44 sed -i 's:-lX11:-lX11 -lz:' Makefile.in || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 mconfigure \
52 --with-openssl=/usr \
53 --with-sound \
54 --without-debug \
55 --with-ipv6 \
56 --enable-smartcard \
57 || die
58
59 mmake || die
60 }