milis/talimatname/genel/n/nbd/talimat

26 lines
627 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Blok cihazlarının NBD protokolüyle paylaşma ve kullanma
# URL: http://nbd.sourceforge.net/
# Maintainer: milisarge
# Gerekler: gnutls glib
2018-08-02 08:53:14 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
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
}