wok view rdesktop/receipt @ rev 8254
shellinabox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 29 16:09:40 2011 +0100 (2011-01-29) |
parents | a22b86b81b59 |
children | 4a193c62c501 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rdesktop"
4 VERSION="1.6.0"
5 CATEGORY="network"
6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://rdesktop.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="libcrypto xorg-libX11 glibc-base xorg-libXau xorg-libXdmcp \
12 alsa-lib libsamplerate libao"
13 BUILD_DEPENDS="openssl-dev xorg-libX11-dev xorg-dev-proto"
14 TAGS="rdp remote-desktop"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/share/rdesktop/keymaps
30 cp -a $_pkg/usr/bin/rdesktop $fs/usr/bin
31 for i in fr de en es it ja common modifiers; do
32 cp -a $_pkg/usr/share/rdesktop/keymaps/$i* \
33 $fs/usr/share/rdesktop/keymaps
34 done
35 strip -s $fs/usr/bin/*
36 }