wok view xrdp/receipt @ rev 23127

updated libzdb and libzdb-dev (3.0 -> 3.2.1)
author Hans-G?nter Theisgen
date Fri Mar 13 10:27:50 2020 +0100 (2020-03-13)
parents 05ed2662f295
children 1fcb238d2a13
line source
1 # SliTaz package receipt.
3 PACKAGE="xrdp"
4 VERSION="0.9.11"
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/
49 mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
51 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
52 -e 's|--noheading -C||' \
53 -e 's,grep -q -i,grep /usr/sbin | &,' \
54 $fs/etc/init.d/xrdp
56 SESSION="/usr/bin/lxde-session"
57 sed -i "s|xterm|[ -x $SESSION ] \\&\\& exec $SESSION\\n &|" \
58 $fs/etc/xrdp/startwm.sh
59 }