wok-next diff xrdp/receipt @ rev 17690

xrdp: add --localstatedir=/var
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 22 18:41:02 2015 +0100 (2015-02-22)
parents 3f0aaa5875d3
children 6e45d904579b
line diff
     1.1 --- a/xrdp/receipt	Sun Feb 22 18:16:53 2015 +0100
     1.2 +++ b/xrdp/receipt	Sun Feb 22 18:41:02 2015 +0100
     1.3 @@ -11,7 +11,7 @@
     1.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.5  
     1.6  DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
     1.7 -xorg-libXdmcp pam"
     1.8 +xorg-libXdmcp pam procps"
     1.9  BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    1.10  xorg-dev"
    1.11  
    1.12 @@ -21,8 +21,8 @@
    1.13  	./bootstrap &&
    1.14  	./configure --prefix=/usr \
    1.15  		--sysconfdir=/etc \
    1.16 -		--infodir=/usr/share/info \
    1.17  		--mandir=/usr/share/man \
    1.18 +		--localstatedir=/var \
    1.19  		$CONFIGURE_ARGS &&
    1.20  	make &&
    1.21  	make DESTDIR=$DESTDIR install
    1.22 @@ -31,5 +31,8 @@
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 +	mkdir -p $fs/etc/init.d
    1.27  	cp -a $install/* $fs/
    1.28 +	mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
    1.29 +	sed -i 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' $fs/etc/init.d/xrdp
    1.30  }