### this file is sourced not run
PKGVER=3.9.1
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=nbd-3.9.1.tar.xz
MD5SUM=895e843129449fa3e6ad819bbcd6c1e2
SRC_URL=http://downloads.sourceforge.net/nbd/$TARBALL
BUNDLE=

SLACKREQ=glib
SLACKDESC="nbd: nbd $PKGVER (Linux Network Block Device (nbd) utilities)
nbd: 
nbd: Tools for the Linux Kernel network block device (nbd), allowing you 
nbd: to use remote block devices over a TCP/IP network.
nbd: 
nbd: Why do we keep using 3.9.1? This is the last version that still
nbd: supports the oldstyle protocol (required by qemu and a lot of 
nbd: other software).
nbd: 
nbd: http://sourceforge.net/projects/nbd/
nbd: https://github.com/yoe/nbd
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --enable-gznbd --enable-syslog"
	pkg_build_autoconf &&
	install -dm755 /usr/share/doc/nbd &&
	install -m644 doc/proto.txt README.md /usr/share/doc/nbd &&
	pkg_build_slackdesc
}


