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