# Description: Share or use block devices with the NBD-protocol # URL: http://nbd.sourceforge.net/ # Maintainer: Thomas Penteker, tek at serverop dot de name=nbd version=3.8 release=1 source=(nbd-server allow \ http://downloads.sourceforge.net/project/nbd/nbd/$version/$name-$version.tar.xz) build() { cd $name-$version ./configure --prefix=/usr \ --mandir=/usr/man \ --sysconfdir=/etc make make DESTDIR=$PKG install install -d $PKG/etc/nbd-server install -D -m 600 $SRC/allow $PKG/etc/nbd-server/allow install -D -m 755 $SRC/nbd-server $PKG/etc/rc.d/nbd-server }