wok-4.x view openssh/receipt @ rev 2515
f*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 21:45:33 2009 +0000 (2009-03-16) |
parents | d06bc1bc7ba2 |
children | e444419779c9 |
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 --without-pam \
19 --with-privsep-user=nobody --with-privsep-path=/var/run/sshd \
20 --libexecdir=/usr/sbin \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share $fs/etc/init.d $fs/etc/ssh $fs/var/run/sshd
30 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share
31 cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/etc $fs
33 cp stuff/openssh $fs/etc/init.d
34 }