wok view openssh/receipt @ rev 1040

Add get-wifi-firmware
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 11 15:12:13 2008 +0000 (2008-07-11)
parents
children 52dc4b48ed81
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.openssl.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"
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 }