wok-6.x diff nbd/receipt @ rev 17918
Up to lastest: tazpkg, tazpanel.
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 09:23:06 2015 +0200 (2015-04-10) |
parents | c87b3aca9438 |
children | 59417e476a6e |
line diff
1.1 --- a/nbd/receipt Fri Sep 13 12:21:17 2013 +0000 1.2 +++ b/nbd/receipt Fri Apr 10 09:23:06 2015 +0200 1.3 @@ -10,6 +10,7 @@ 1.4 WEB_SITE="http://nbd.sourceforge.net/" 1.5 WGET_URL="$SF_MIRROR/nbd/$TARBALL" 1.6 SUGGESTED="linux-nbd" 1.7 +CONFIG_FILES="/etc/nbd-server" 1.8 1.9 DEPENDS="glib pcre" 1.10 BUILD_DEPENDS="pkg-config glib-dev pcre-dev" 1.11 @@ -18,7 +19,7 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.16 + ./configure --sysconfdir=/etc --prefix=/usr $CONFIGURE_ARGS && 1.17 make && 1.18 make DESTDIR=$DESTDIR install 1.19 } 1.20 @@ -26,7 +27,8 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/usr 1.25 + mkdir -p $fs/usr $fs/etc/nbd-server 1.26 cp -a $install/usr/bin $fs/usr 1.27 cp -a $install/usr/sbin $fs/usr 1.28 + touch $fs/etc/nbd-server/config 1.29 }