wok view xrdp/receipt @ rev 19922

Up ipxe (1.0.0-20170417)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 20 09:45:12 2017 +0200 (2017-04-20)
parents 6e45d904579b
children d3852d2a7903
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="libssl zlib xorg-libX11 xorg-libXfixes 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 }