wok-6.x diff unbound/receipt @ rev 22430

Add sshrc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 19:07:35 2019 +0100 (2019-12-20)
parents dbf4eeed945f
children ca57a269eb9b
line diff
     1.1 --- a/unbound/receipt	Mon Mar 28 18:04:41 2016 +0200
     1.2 +++ b/unbound/receipt	Fri Dec 20 19:07:35 2019 +0100
     1.3 @@ -1,25 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="unbound"
     1.7 -VERSION="1.5.7"
     1.8 +VERSION="1.9.4"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A validating, recursive, and caching DNS resolver."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://www.unbound.net/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://www.unbound.net/"
    1.17  WGET_URL="https://www.unbound.net/downloads/$TARBALL"
    1.18 -CONFIG_FILES="/etc/unbound"
    1.19  
    1.20  DEPENDS="libssl zlib expat"
    1.21  BUILD_DEPENDS="openssl-dev expat-dev"
    1.22  
    1.23 +CONFIG_FILES="/etc/unbound"
    1.24 +
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./configure --prefix=/usr \
    1.29 -		--sysconfdir=/etc \
    1.30 -		--mandir=/usr/share/man \
    1.31 +	./configure			\
    1.32 +		--prefix=/usr		\
    1.33 +		--sysconfdir=/etc	\
    1.34 +		--mandir=/usr/share/man	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install
    1.38 @@ -28,10 +31,12 @@
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/lib $fs/var/lib/unbound
    1.43 -	cp -a $install/etc $fs
    1.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 -	cp -a $install/usr/sbin $fs/usr
    1.46 +	mkdir -p $fs/usr/lib
    1.47 +	mkdir -p $fs/var/lib/unbound
    1.48 +
    1.49 +	cp -a $install/etc		$fs
    1.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.51 +	cp -a $install/usr/sbin		$fs/usr
    1.52  }
    1.53  
    1.54  # Post message when installing.