milis/talimatname/genel/nbd/talimat

25 lines
629 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}