wok-6.x view openssh/receipt @ rev 1814

Up: ntfs-3g to 1.5130
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 05 15:01:28 2008 +0100 (2008-12-05)
parents 52dc4b48ed81
children d06bc1bc7ba2
line source
1 # SliTaz package receipt.
3 PACKAGE="openssh"
4 VERSION="5.0p1"
5 CATEGORY="security"
6 SHORT_DESC="Openbsd Secure Shell."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openssh.org/"
10 WGET_URL="ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL"
11 DEPENDS="libcrypto zlib"
12 BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
19 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
29 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
30 cp -a $_pkg/usr/sbin $_pkg/usr/bin $_pkg/usr/libexec $fs/usr
31 cp -a $_pkg/etc $fs
32 cp stuff/openssh $fs/etc/init.d
33 }