milis/talimatname/genel/n/nbd/talimat

25 lines
612 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.

# Tanım: Blok cihazlarının NBD protokolüyle paylaşma ve kullanma
# URL: http://nbd.sourceforge.net/
# Maintainer: milisarge
# Gerekler: gnutls glib
isim=nbd
surum=3.15.2
devir=1
kaynak=(http://downloads.sourceforge.net/project/nbd/nbd/$surum/$isim-$surum.tar.xz
nbd-server
allow)
derle() {
cd $isim-$surum
./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
}