wok view xrdp/receipt @ rev 23889
created get-anydesk
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 24 11:12:22 2020 +0100 (2020-07-24) |
parents | 1fcb238d2a13 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xrdp"
4 VERSION="0.9.13"
5 CATEGORY="network"
6 SHORT_DESC="An open source remote desktop protocol (RDP) server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="http://www.xrdp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/neutrinolabs/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="libssl pam util-linux-uuid xorg-libICE xorg-libSM xorg-libX11
15 xorg-libXext xorg-libXfixes xorg-libXrandr xorgxrdp zlib"
16 BUILD_DEPENDS="autoconf automake libtool nasm openssl-dev pam-dev
17 pkg-config util-linux-uuid-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./bootstrap &&
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --enable-ipv6 \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/xrdp
38 mkdir -p $fs/usr/share
39 mkdir -p $install/usr/share/doc
41 cp -a $src/*.txt $install/usr/share/doc
42 cp -a $src/*.md $install/usr/share/doc
43 cp -a $src/COPYING $install/usr/share/doc
44 cp -a $install/etc $fs/
45 cp -a $install/usr/lib/xrdp/*.so* $fs/usr/lib/xrdp/
46 cp -a $install/usr/sbin $fs/usr/
47 cp -a $install/usr/bin $fs/usr/
48 cp -a $install/usr/share/xrdp $fs/usr/share/
50 # 0.9.13 no such file
51 # mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
53 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
54 -e 's|--noheading -C||' \
55 -e 's,grep -q -i,grep /usr/sbin | &,' \
56 $fs/etc/init.d/xrdp
58 SESSION="/usr/bin/lxde-session"
59 sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
60 $fs/etc/xrdp/startwm.sh
61 }