Contents of /smage/branches/alx-0_6_0/extras/rdesktop/rdesktop-1.7.0-r1.smage2
Parent Directory | Revision Log
Revision 3428 -
(show annotations)
(download)
Tue Apr 10 14:18:31 2012 UTC (12 years, 2 months ago) by niro
File size: 1178 byte(s)
Tue Apr 10 14:18:31 2012 UTC (12 years, 2 months ago) by niro
File size: 1178 byte(s)
-fix missing -lz
1 | # $Id$ |
2 | |
3 | PNAME="rdesktop" |
4 | PVER="1.7.0" |
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.7" |
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_ONLY_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}-${PVER}-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}-${PVER}-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 | } |