void-packages/srcpkgs/nbd/template

23 lines
690 B
Plaintext

# Template file for 'nbd'
pkgname=nbd
version=3.6
revision=1
build_style=gnu-configure
configure_args="--enable-syslog --sbindir=/usr/bin"
hostmakedepends="pkg-config"
makedepends="glib-devel"
system_accounts="nbd"
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=56a079fd6252e8efc88a2da16be8be50bf86740a6135747241c9cdbd75191bd5
post_install() {
vinstall ${FILESDIR}/config 644 etc/nbd-server
vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system
vinstall README 644 usr/share/doc/nbd
}