milis/talimatname/genel/n/nbd/talimat

25 lines
612 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Blok cihazlarının NBD protokolüyle paylaşma ve kullanma
2017-03-31 22:00:23 +02:00
# URL: http://nbd.sourceforge.net/
# Maintainer: milisarge
2017-10-27 20:46:27 +02:00
# Gerekler: gnutls glib
2017-03-31 22:00:23 +02:00
2017-10-28 14:10:23 +02:00
isim=nbd
surum=3.15.2
devir=1
kaynak=(http://downloads.sourceforge.net/project/nbd/nbd/$surum/$isim-$surum.tar.xz
2017-03-31 22:00:23 +02:00
nbd-server
allow)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-03-31 22:00:23 +02:00
./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
}