void-packages/srcpkgs/nbd/template
2015-03-03 08:27:50 +01:00

27 lines
773 B
Text

# Template file for 'nbd'
pkgname=nbd
version=3.9
revision=1
build_style=gnu-configure
configure_args="--enable-syslog --sbindir=/usr/bin"
hostmakedepends="pkg-config"
makedepends="libglib-devel"
build_options="systemd"
system_accounts="nbd"
nbd_homedir="/var/chroot"
conf_files="/etc/nbd-server/config"
short_desc="Network Block Device utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://nbd.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/nbd/nbd-${version}.tar.gz"
checksum=09168a139519d2d719ce1a42fc73ae0939a17a360b52aa7add972c1bca545099
post_install() {
vsv nbd
vinstall ${FILESDIR}/config 644 etc/nbd-server
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system
fi
vdoc doc/README
}