2014-01-04 11:03:06 +01:00
|
|
|
# Template file for 'nbd'
|
|
|
|
pkgname=nbd
|
2014-01-22 13:19:38 +01:00
|
|
|
version=3.7
|
2014-01-04 11:03:06 +01:00
|
|
|
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"
|
2014-01-22 13:19:38 +01:00
|
|
|
checksum=a10523e02d2517b17c26120969544283094137c3989c9f39980b75de64894b61
|
2014-01-04 11:03:06 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/config 644 etc/nbd-server
|
|
|
|
vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system
|
2014-01-22 13:19:38 +01:00
|
|
|
vinstall doc/README 644 usr/share/doc/nbd
|
2014-01-04 11:03:06 +01:00
|
|
|
}
|