void-packages/srcpkgs/autossh/template

27 lines
635 B
Bash

# Template file for 'autossh'
pkgname=autossh
version=1.4f
revision=1
build_style=gnu-configure
short_desc="Automatically restart SSH sessions and tunnels"
maintainer="uriahheep <uriahheep@gmail.com>"
license="MIT"
hostmakedepends="openssh"
homepage="http://www.harding.motd.ca/autossh/"
distfiles="http://www.harding.motd.ca/autossh/autossh-$version.tgz"
checksum=0172e5e1bea40c642e0ef025334be3aadd4ff3b4d62c0b177ed88a8384e2f8f2
pre_configure() {
export CPPFLAGS="$CPPFLAGS $LDFLAGS"
}
do_install() {
vbin autossh
vdoc CHANGES
vdoc README
vsconf autossh.host
head -n 24 autossh.c > LICENSE
vlicense LICENSE
vman autossh.1
}