wok-6.x diff openssh/receipt @ rev 1474

Up mpfr-dev (2.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 12:49:35 2008 +0000 (2008-10-04)
parents
children 52dc4b48ed81
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openssh/receipt	Sat Oct 04 12:49:35 2008 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openssh"
     1.7 +VERSION="5.0p1"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Openbsd Secure Shell."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.openssl.org/"
    1.13 +WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
    1.14 +DEPENDS="libcrypto zlib"
    1.15 +BUILD_DEPENDS="libcrypto-dev zlib-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --sysconfdir=/etc/ssh \
    1.22 +		--with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
    1.23 +		$CONFIGURE_ARGS
    1.24 +	make
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
    1.32 +	cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
    1.33 +	cp -a $_pkg/usr/sbin $_pkg/usr/bin $_pkg/usr/libexec $fs/usr
    1.34 +	cp -a $_pkg/etc $fs
    1.35 +	cp stuff/openssh $fs/etc/init.d
    1.36 +}
    1.37 +