wok-next view xrdp/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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="GPL2"
9 WEB_SITE="http://www.xrdp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/neutrinolabs/xrdp/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="autoconf automake libtool openssl-dev pam-dev xorg-dev nasm"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$install 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 case $PACKAGE in
36 xrdp)
37 copy @std
38 DEPENDS="openssl pam libx11 libxfixes libxrandr \
39 tightvnc"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }