wok-current rev 21521

updated nbd (3.3 -> 3.19)
author Hans-G?nter Theisgen
date Fri May 03 17:04:45 2019 +0100 (2019-05-03)
parents 0386bb6c950b
children aa52400acd4d
files nbd/receipt
line diff
     1.1 --- a/nbd/receipt	Fri May 03 15:56:29 2019 +0100
     1.2 +++ b/nbd/receipt	Fri May 03 17:04:45 2019 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nbd"
     1.7 -VERSION="3.3"
     1.8 +VERSION="3.19"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Remote block devices over a TCP/IP network."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://nbd.sourceforge.net/"
    1.15 +WEB_SITE="https://nbd.sourceforge.io/"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="$SF_MIRROR/nbd/$TARBALL"
    1.19 +
    1.20  SUGGESTED="linux-nbd"
    1.21 -CONFIG_FILES="/etc/nbd-server"
    1.22 -
    1.23  DEPENDS="glib pcre"
    1.24  BUILD_DEPENDS="pkg-config glib-dev pcre-dev"
    1.25 +CONFIG_FILES="/etc/nbd-server"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	./configure --sysconfdir=/etc --prefix=/usr $CONFIGURE_ARGS &&
    1.32 +	./configure			\
    1.33 +		--sysconfdir=/etc	\
    1.34 +		--prefix=/usr		\
    1.35 +		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38  }
    1.39 @@ -27,8 +30,11 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr $fs/etc/nbd-server
    1.44 -	cp -a $install/usr/bin $fs/usr
    1.45 -	cp -a $install/usr/sbin $fs/usr
    1.46 +	mkdir -p $fs/usr
    1.47 +	mkdir -p $fs/etc/nbd-server
    1.48 +
    1.49 +	cp -a $install/usr/bin	$fs/usr
    1.50 +	cp -a $install/usr/sbin	$fs/usr
    1.51 +
    1.52  	touch $fs/etc/nbd-server/config
    1.53  }