void-packages/srcpkgs/dropbear/template

24 lines
723 B
Bash

# Template file for 'dropbear'
pkgname=dropbear
version=2015.67
revision=1
build_options="systemd"
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=7e690594645dfde5787065c78a5d2e4d15e288babfa06e140197ce05f698c8e5
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/dropbear.service 644 usr/lib/systemd/system/
fi
vsv dropbear
vlicense LICENSE
}