wok rev 17689

Add xrdp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 22 18:16:53 2015 +0100 (2015-02-22)
parents 4162e19624b2
children e302f073e59f
files cookutils/receipt httping/receipt xrdp/receipt
line diff
     1.1 --- a/cookutils/receipt	Sun Feb 22 15:09:28 2015 +0000
     1.2 +++ b/cookutils/receipt	Sun Feb 22 18:16:53 2015 +0100
     1.3 @@ -36,7 +36,7 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	case "$(cat $1/etc/hostname)" in
     1.8 +	case "$(cat $1/etc/hostname 2> /dev/null)" in
     1.9  	tank*)
    1.10  		if ! chroot $1/ tazpkg list | grep -q aufs ; then
    1.11  			tazpkg get-install aufs --root=$1/
     2.1 --- a/httping/receipt	Sun Feb 22 15:09:28 2015 +0000
     2.2 +++ b/httping/receipt	Sun Feb 22 18:16:53 2015 +0100
     2.3 @@ -16,12 +16,13 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	./configure --prefix=/usr
     2.8  		#--with-tfo force enable tcp fast open
     2.9 -		--with-ncurses force enable ncurses
    2.10 -		--with-openssl force enable openssl
    2.11 -		--with-fftw3 force enable fftw3
    2.12 -	make
    2.13 +	./configure --prefix=/usr \
    2.14 +		--with-ncurses \
    2.15 +		--with-openssl \
    2.16 +		--with-fftw3 \
    2.17 +		$CONFIGURE_ARGS &&
    2.18 +	make &&
    2.19  	make DESTDIR=$DESTDIR install
    2.20  }
    2.21  
    2.22 @@ -33,4 +34,3 @@
    2.23  	cp -a $install/usr/share/ $fs/usr
    2.24  	rm -r $fs/usr/share/man
    2.25  }
    2.26 -
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xrdp/receipt	Sun Feb 22 18:16:53 2015 +0100
     3.3 @@ -0,0 +1,35 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="xrdp"
     3.7 +VERSION="0.6.1"
     3.8 +CATEGORY="network"
     3.9 +SHORT_DESC="An open source remote desktop protocol(rdp) server."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="$PACKAGE-v$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.xrdp.org/"
    3.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.15 +
    3.16 +DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \
    3.17 +xorg-libXdmcp pam"
    3.18 +BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \
    3.19 +xorg-dev"
    3.20 +
    3.21 +# Rules to configure and make the package.
    3.22 +compile_rules()
    3.23 +{
    3.24 +	./bootstrap &&
    3.25 +	./configure --prefix=/usr \
    3.26 +		--sysconfdir=/etc \
    3.27 +		--infodir=/usr/share/info \
    3.28 +		--mandir=/usr/share/man \
    3.29 +		$CONFIGURE_ARGS &&
    3.30 +	make &&
    3.31 +	make DESTDIR=$DESTDIR install
    3.32 +}
    3.33 +
    3.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.35 +genpkg_rules()
    3.36 +{
    3.37 +	cp -a $install/* $fs/
    3.38 +}