28 lines
740 B
Bash
28 lines
740 B
Bash
# Template file for 'nbd'
|
|
pkgname=nbd
|
|
version=3.15.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-syslog --sbindir=/usr/bin"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel"
|
|
system_accounts="nbd"
|
|
nbd_homedir="/var/chroot"
|
|
conf_files="/etc/nbd-server/config"
|
|
short_desc="Network Block Device utilities"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://nbd.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/nbd/nbd-${version}.tar.gz"
|
|
checksum=0155e6fd142853ad60172906393e4329ad648656342fb7a3b35de97ce4a82c88
|
|
|
|
post_configure() {
|
|
# skip systemd unit
|
|
sed -i '/^SUBDIRS =/s/systemd//' -i Makefile
|
|
}
|
|
|
|
post_install() {
|
|
vsv nbd
|
|
vinstall ${FILESDIR}/config 644 etc/nbd-server
|
|
vdoc doc/README
|
|
}
|