wok-next view xrdp/receipt @ rev 20727

python-gevent-psycopg2: fix error "urllib2.HTTPError: HTTP Error 403: SSL is required"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 28 15:32:33 2018 +0300 (2018-05-28)
parents 10df65db91ad
children d5aab818505e
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="xrdp-dev"
17 compile_rules() {
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 case $PACKAGE in
36 xrdp)
37 copy @std
38 DEPENDS="openssl pam xorg-libX11 xorg-libXfixes xorg-libXrandr \
39 tightvnc"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }