milis/talimatname/genel/n/nbd/talimat

25 lines
629 B
Plaintext
Raw Normal View History

2017-03-31 22:00:23 +02:00
# Description: Blok cihazlarının NBD protokolüyle paylaşma ve kullanma
# URL: http://nbd.sourceforge.net/
# Maintainer: milisarge
# Depends on: gnutls glib
name=nbd
version=3.15.2
release=1
source=(http://downloads.sourceforge.net/project/nbd/nbd/$version/$name-$version.tar.xz
nbd-server
allow)
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/init.d/nbd-server
}