wok-6.x 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
files httping/receipt xrdp/receipt
line diff
     1.1 --- a/httping/receipt	Sun Feb 22 18:16:53 2015 +0100
     1.2 +++ b/httping/receipt	Sun Feb 22 18:41:02 2015 +0100
     1.3 @@ -17,11 +17,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  		#--with-tfo force enable tcp fast open
     1.7 -	./configure --prefix=/usr \
     1.8 +	./configure \
     1.9  		--with-ncurses \
    1.10  		--with-openssl \
    1.11 -		--with-fftw3 \
    1.12 -		$CONFIGURE_ARGS &&
    1.13 +		--with-fftw3 &&
    1.14  	make &&
    1.15  	make DESTDIR=$DESTDIR install
    1.16  }
     2.1 --- a/xrdp/receipt	Sun Feb 22 18:16:53 2015 +0100
     2.2 +++ b/xrdp/receipt	Sun Feb 22 18:41:02 2015 +0100
     2.3 @@ -11,7 +11,7 @@
     2.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.5  
     2.6  DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
     2.7 -xorg-libXdmcp pam"
     2.8 +xorg-libXdmcp pam procps"
     2.9  BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    2.10  xorg-dev"
    2.11  
    2.12 @@ -21,8 +21,8 @@
    2.13  	./bootstrap &&
    2.14  	./configure --prefix=/usr \
    2.15  		--sysconfdir=/etc \
    2.16 -		--infodir=/usr/share/info \
    2.17  		--mandir=/usr/share/man \
    2.18 +		--localstatedir=/var \
    2.19  		$CONFIGURE_ARGS &&
    2.20  	make &&
    2.21  	make DESTDIR=$DESTDIR install
    2.22 @@ -31,5 +31,8 @@
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  genpkg_rules()
    2.25  {
    2.26 +	mkdir -p $fs/etc/init.d
    2.27  	cp -a $install/* $fs/
    2.28 +	mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp
    2.29 +	sed -i 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' $fs/etc/init.d/xrdp
    2.30  }