void-packages/srcpkgs/dropbear/template

25 lines
735 B
Plaintext

# Template file for 'dropbear'
pkgname=dropbear
version=2014.64
revision=1
build_style="gnu-configure"
configure_args="--sbindir=/usr/bin --enable-zlib"
makedepends="zlib-devel"
make_dirs="/etc/dropbear 0755 root root"
short_desc="Small SSH server and client."
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://matt.ucc.asn.au/dropbear/dropbear.html"
distfiles="https://matt.ucc.asn.au/${pkgname}/releases/${pkgname}-${version}.tar.bz2"
checksum=866156b464bfbc914b24fde3d7d87faa6c7fc2d2c5a6c5164ac52dbb2e1ad170
# Package build options
build_options="systemd"
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
fi
vlicense LICENSE
}