# HG changeset patch # User Pascal Bellard # Date 1424625413 -3600 # Node ID 3f0aaa5875d3f887ffb28747975763cd698a7d4d # Parent 4162e19624b29220afb5e8b76168ca939b9e85ba Add xrdp diff -r 4162e19624b2 -r 3f0aaa5875d3 cookutils/receipt --- a/cookutils/receipt Sun Feb 22 15:09:28 2015 +0000 +++ b/cookutils/receipt Sun Feb 22 18:16:53 2015 +0100 @@ -36,7 +36,7 @@ # Pre and post install commands for Tazpkg. post_install() { - case "$(cat $1/etc/hostname)" in + case "$(cat $1/etc/hostname 2> /dev/null)" in tank*) if ! chroot $1/ tazpkg list | grep -q aufs ; then tazpkg get-install aufs --root=$1/ diff -r 4162e19624b2 -r 3f0aaa5875d3 httping/receipt --- a/httping/receipt Sun Feb 22 15:09:28 2015 +0000 +++ b/httping/receipt Sun Feb 22 18:16:53 2015 +0100 @@ -16,12 +16,13 @@ # Rules to configure and make the package. compile_rules() { - ./configure --prefix=/usr #--with-tfo force enable tcp fast open - --with-ncurses force enable ncurses - --with-openssl force enable openssl - --with-fftw3 force enable fftw3 - make + ./configure --prefix=/usr \ + --with-ncurses \ + --with-openssl \ + --with-fftw3 \ + $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install } @@ -33,4 +34,3 @@ cp -a $install/usr/share/ $fs/usr rm -r $fs/usr/share/man } - diff -r 4162e19624b2 -r 3f0aaa5875d3 xrdp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xrdp/receipt Sun Feb 22 18:16:53 2015 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="xrdp" +VERSION="0.6.1" +CATEGORY="network" +SHORT_DESC="An open source remote desktop protocol(rdp) server." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-v$VERSION.tar.gz" +WEB_SITE="http://www.xrdp.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \ +xorg-libXdmcp pam" +BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \ +xorg-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./bootstrap && + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ +}