wok diff nbd/receipt @ rev 21958

code2 -> codec2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 10 16:08:31 2019 +0200 (2019-10-10)
parents 67f1bd56d62f
children f05572332c7c
line diff
     1.1 --- a/nbd/receipt	Fri Sep 13 12:30:04 2013 +0000
     1.2 +++ b/nbd/receipt	Thu Oct 10 16:08:31 2019 +0200
     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  }