# HG changeset patch # User Pascal Bellard # Date 1379075404 0 # Node ID 67f1bd56d62f59baf9b24d743843e584ffa1f061 # Parent c87b3aca9438dcdb847d4e5b918a58f8995170c5 nbd: add config file diff -r c87b3aca9438 -r 67f1bd56d62f nbd/receipt --- a/nbd/receipt Fri Sep 13 12:21:17 2013 +0000 +++ b/nbd/receipt Fri Sep 13 12:30:04 2013 +0000 @@ -10,6 +10,7 @@ WEB_SITE="http://nbd.sourceforge.net/" WGET_URL="$SF_MIRROR/nbd/$TARBALL" SUGGESTED="linux-nbd" +CONFIG_FILES="/etc/nbd-server" DEPENDS="glib pcre" BUILD_DEPENDS="pkg-config glib-dev pcre-dev" @@ -18,7 +19,7 @@ compile_rules() { cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && + ./configure --sysconfdir=/etc --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -26,7 +27,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + mkdir -p $fs/usr $fs/etc/nbd-server cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr + touch $fs/etc/nbd-server/config }