wok-current annotate autossh/receipt @ rev 19269
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 14:47:05 2016 +0300 (2016-07-04) |
parents | 33e5fb8a4dcb |
children | 11b5e93cb5f2 |
rev | line source |
---|---|
pascal@13388 | 1 # SliTaz package receipt. |
pascal@13388 | 2 |
pascal@13388 | 3 PACKAGE="autossh" |
pascal@18051 | 4 VERSION="1.4d" |
pascal@13388 | 5 CATEGORY="network" |
pascal@13388 | 6 SHORT_DESC="Automatically restart SSH sessions and tunnels." |
pascal@13388 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="CC-SA" |
pascal@13388 | 9 WEB_SITE="http://www.harding.motd.ca/autossh/" |
pascal@13388 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@13388 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
pascal@13388 | 13 |
pascal@13388 | 14 DEPENDS="openssh" |
pascal@15613 | 15 BUILD_DEPENDS="openssh" |
pascal@13388 | 16 |
pascal@13388 | 17 # Rules to configure and make the package. |
pascal@13388 | 18 compile_rules() |
pascal@13388 | 19 { |
pascal@13388 | 20 ./configure --prefix=/usr \ |
pascal@13388 | 21 $CONFIGURE_ARGS && |
pascal@13388 | 22 make |
al@19269 | 23 |
al@19269 | 24 mkdir -p $install/usr/share/man/man1 |
al@19269 | 25 cp -a $src/autossh.1 $install/usr/share/man/man1 |
al@19269 | 26 cook_compress_manpages |
pascal@13388 | 27 } |
pascal@13388 | 28 |
pascal@13388 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13388 | 30 genpkg_rules() |
pascal@13388 | 31 { |
pascal@13388 | 32 mkdir -p $fs/usr/bin |
pascal@13389 | 33 cp -a $src/autossh $fs/usr/bin |
pascal@13388 | 34 } |