wok-next view xrdp/receipt @ rev 20457
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 11:13:24 2018 +0200 (2018-03-02) |
parents | 7639f09792cf |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xrdp"
4 VERSION="0.6.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-v$VERSION.tar.gz"
10 WEB_SITE="http://www.xrdp.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="openssl zlib xorg-libX11 xorg-libXfixes xorg-libxcb xorg-libXau \
14 xorg-libXdmcp pam tightvnc"
15 BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
16 xorg-dev"
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 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/etc/init.d
35 cp -a $install/* $fs/
36 mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
37 sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
38 -e 's|--noheading -C||' \
39 -e 's,grep -q -i,grep /usr/sbin | &,' \
40 $fs/etc/init.d/xrdp
41 sed -i 's|gnome|lxde-session &|' $fs/etc/xrdp/startwm.sh
42 }