wok view autossh/receipt @ rev 19065

Take care on root in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 21 09:45:48 2016 +0200 (2016-04-21)
parents f44ef80ff9e2
children 7f39549720b8
line source
1 # SliTaz package receipt.
3 PACKAGE="autossh"
4 VERSION="1.4d"
5 CATEGORY="network"
6 SHORT_DESC="Automatically restart SSH sessions and tunnels."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CC-SA"
9 WEB_SITE="http://www.harding.motd.ca/autossh/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="ssh"
14 DEPENDS="openssh"
15 BUILD_DEPENDS="openssh"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/autossh $fs/usr/bin
30 }