wok-6.x view xrdp/receipt @ rev 20063
Up xrdp (0.9.3.1), add xorgxrdp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 22 21:42:40 2017 +0200 (2017-09-22) |
parents | 2b9e61f7570e |
children | b26680424a50 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xrdp"
4 VERSION="0.9.3.1"
5 CATEGORY="network"
6 SHORT_DESC="An open source remote desktop protocol(rdp) server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.xrdp.org/"
11 WGET_URL="https://github.com/neutrinolabs/xrdp/releases/download/v$VERSION/$TARBALL"
13 DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
14 xorg-libXdmcp pam tightvnc util-linux-uuid"
15 BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
16 xorg-dev util-linux-uuid-dev nasm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./bootstrap &&
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --localstatedir=/var \
26 --enable-ipv6 \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/xrdp $fs/usr/share
36 cp -a $install/etc $fs/
37 cp -a $install/usr/lib/xrdp/*.so* $fs/usr/lib/xrdp/
38 cp -a $install/usr/sbin $fs/usr/
39 cp -a $install/usr/bin $fs/usr/
40 cp -a $install/usr/share/xrdp $fs/usr/share/
41 mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
42 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
43 -e 's|--noheading -C||' \
44 -e 's,grep -q -i,grep /usr/sbin | &,' \
45 $fs/etc/init.d/xrdp
46 SESSION="/usr/bin/lxde-session"
47 sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
48 $fs/etc/xrdp/startwm.sh
49 }