wok rev 22070

updated udns and udns-dev (0.1 -> 0.4)
author Hans-G?nter Theisgen
date Fri Oct 25 15:44:51 2019 +0100 (2019-10-25)
parents 629175d3e623
children aff6fc8c04d4
files udns-dev/receipt udns/receipt
line diff
     1.1 --- a/udns-dev/receipt	Fri Oct 25 15:20:25 2019 +0100
     1.2 +++ b/udns-dev/receipt	Fri Oct 25 15:44:51 2019 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="udns-dev"
     1.7 -VERSION="0.1"
     1.8 +VERSION="0.4"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Syncronous and asyncronous DNS resolver, development files."
    1.11 +SHORT_DESC="Syncrhonous and asynchronous DNS resolver, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="http://www.corpit.ru/mjt/udns.html"
    1.15 +WEB_SITE="https://www.corpit.ru/mjt/udns.html"
    1.16 +
    1.17  WANTED="udns"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.23 -	cp -a $src/libudns*a $fs/usr/lib
    1.24 -	cp -a $src/udns.h $fs/usr/include
    1.25 +	mkdir -p $fs/usr/lib
    1.26 +	mkdir -p $fs/usr/include
    1.27 +
    1.28 +	cp -a $src/libudns*a	$fs/usr/lib
    1.29 +	cp -a $src/udns.h	$fs/usr/include
    1.30  }
    1.31 -
     2.1 --- a/udns/receipt	Fri Oct 25 15:20:25 2019 +0100
     2.2 +++ b/udns/receipt	Fri Oct 25 15:44:51 2019 +0100
     2.3 @@ -1,32 +1,36 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="udns"
     2.7 -VERSION="0.1"
     2.8 +VERSION="0.4"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Syncronous and asyncronous DNS resolver."
    2.11 +TAGS="network DNS"
    2.12 +SHORT_DESC="Synchronous and asynchronous DNS resolver."
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="LGPL2.1"
    2.15 +WEB_SITE="https://www.corpit.ru/mjt/$PACKAGE.html"
    2.16 +
    2.17  TARBALL="${PACKAGE}-$VERSION.tar.gz"
    2.18 -WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
    2.19 -WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
    2.20 -TAGS="network DNS"
    2.21 +WGET_URL="https://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
    2.22 +
    2.23 +BUILD_DEPENDS="bash"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29  	# GCC 4.5 fix
    2.30  	sed -i 's/"$@" >/$@ >/' configure.lib
    2.31 -	bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
    2.32 +	bash ./configure &&
    2.33 +	make staticlib sharedlib rblcheck_s dnsget_s
    2.34  }
    2.35  
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/usr/lib $fs/usr/bin
    2.40 -	cp -a $src/libudns.so.0 $fs/usr/lib
    2.41 -	ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
    2.42 -	cp -a $src/dnsget_s $fs/usr/bin/dnsget
    2.43 -	cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
    2.44 +	mkdir -p $fs/usr/lib
    2.45 +	mkdir -p $fs/usr/bin
    2.46 +
    2.47 +	cp -a $src/libudns.so.0		$fs/usr/lib
    2.48 +	ln -s /usr/lib/libudns.so.0	$fs/usr/lib/libudns.so
    2.49 +	cp -a $src/dnsget_s		$fs/usr/bin/dnsget
    2.50 +	cp -a $src/rblcheck_s		$fs/usr/bin/rblcheck
    2.51  }
    2.52 -