wok-6.x view xrdp/receipt @ rev 21838

updated redshift (1.7 -> 1.12)
author Hans-G?nter Theisgen
date Sat Sep 14 16:05:25 2019 +0100 (2019-09-14)
parents b26680424a50
children 39aed09d3044
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="Apache"
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 xorg-libSM xorg-libICE \
14 xorg-libXrandr xorg-libXext pam util-linux-uuid xorgxrdp"
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 $install/usr/share/doc
36 cp -a $src/*.txt $src/*.md $src/COPYING $install/usr/share/doc
37 cp -a $install/etc $fs/
38 cp -a $install/usr/lib/xrdp/*.so* $fs/usr/lib/xrdp/
39 cp -a $install/usr/sbin $fs/usr/
40 cp -a $install/usr/bin $fs/usr/
41 cp -a $install/usr/share/xrdp $fs/usr/share/
42 mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
43 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
44 -e 's|--noheading -C||' \
45 -e 's,grep -q -i,grep /usr/sbin | &,' \
46 $fs/etc/init.d/xrdp
47 SESSION="/usr/bin/lxde-session"
48 sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
49 $fs/etc/xrdp/startwm.sh
50 }