void-packages/srcpkgs/dropbear/template

25 lines
735 B
Plaintext

# Template file for 'dropbear'
pkgname=dropbear
version=2014.65
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=e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c
# 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
}