wok-next view xrdp/receipt @ rev 20612
Up autofs (5.1.4), c-ares, curl (7.58.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 23:07:29 2018 +0300 (2018-04-19) |
parents | 757d032c55c7 |
children | b4e75a82fdf3 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.xrdp.org/"
11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="autoconf automake libtool openssl-dev pam-dev xorg-dev"
16 compile_rules() {
17 ./bootstrap &&
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$DESTDIR install || return 1
23 mkdir -p $install/etc/init.d/
24 mv $install/etc/xrdp/xrdp.sh $install/etc/init.d/xrdp
25 sed \
26 -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
27 -e 's|--noheading -C||' \
28 -e 's,grep -q -i,grep /usr/sbin | &,' \
29 -i $install/etc/init.d/xrdp
31 sed -i 's|gnome|lxde-session &|' $install/etc/xrdp/startwm.sh
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="openssl zlib xorg-libX11 xorg-libXfixes xorg-libxcb xorg-libXau \
37 xorg-libXdmcp pam tightvnc"
38 }