wok-next annotate xrdp/receipt @ rev 21526

updated bogofilter (1.2.4 -> 1.2.5)
author Hans-G?nter Theisgen
date Fri Jun 19 14:26:31 2020 +0100 (2020-06-19)
parents d5aab818505e
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
pascal@17689 2
pascal@17689 3 PACKAGE="xrdp"
al@20616 4 VERSION="0.9.3.1"
pascal@17689 5 CATEGORY="network"
al@20616 6 SHORT_DESC="An open source remote desktop protocol (RDP) server"
pascal@17689 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17689 8 LICENSE="GPL2"
al@20534 9 WEB_SITE="http://www.xrdp.org/"
al@20534 10
al@20616 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20616 12 WGET_URL="https://github.com/neutrinolabs/xrdp/releases/download/v$VERSION/$TARBALL"
pascal@17689 13
al@20616 14 BUILD_DEPENDS="autoconf automake libtool openssl-dev pam-dev xorg-dev nasm"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@17689 16
al@20534 17 compile_rules() {
al@20534 18 ./configure $CONFIGURE_ARGS &&
al@20604 19 fix libtool &&
pascal@17689 20 make &&
al@21020 21 make DESTDIR=$install install || return 1
al@20534 22
al@20534 23 mkdir -p $install/etc/init.d/
al@20534 24 mv $install/etc/xrdp/xrdp.sh $install/etc/init.d/xrdp
al@20534 25 sed \
al@20534 26 -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \
al@20534 27 -e 's|--noheading -C||' \
al@20534 28 -e 's,grep -q -i,grep /usr/sbin | &,' \
al@20534 29 -i $install/etc/init.d/xrdp
al@20534 30
al@20534 31 sed -i 's|gnome|lxde-session &|' $install/etc/xrdp/startwm.sh
pascal@17689 32 }
pascal@17689 33
al@20534 34 genpkg_rules() {
al@20616 35 case $PACKAGE in
al@20616 36 xrdp)
al@20616 37 copy @std
al@21078 38 DEPENDS="openssl pam libx11 libxfixes libxrandr \
al@20616 39 tightvnc"
al@20616 40 ;;
al@20616 41 *-dev)
al@20616 42 copy @dev
al@20616 43 ;;
al@20616 44 esac
pascal@17689 45 }