wok diff udns/receipt @ rev 23608

updated nnn (3.0 -> 3.1)
author Hans-G?nter Theisgen
date Tue Apr 14 06:12:39 2020 +0100 (2020-04-14)
parents 2a21689b0af7
children 934055de50e2
line diff
     1.1 --- a/udns/receipt	Thu Oct 03 09:52:57 2013 +0000
     1.2 +++ b/udns/receipt	Tue Apr 14 06:12:39 2020 +0100
     1.3 @@ -1,32 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="udns"
     1.7 -VERSION="0.1"
     1.8 +VERSION="0.4"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Syncronous and asyncronous DNS resolver."
    1.11 +TAGS="network DNS"
    1.12 +SHORT_DESC="Synchronous and asynchronous DNS resolver."
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="LGPL2.1"
    1.15 +WEB_SITE="https://www.corpit.ru/mjt/$PACKAGE.html"
    1.16 +
    1.17  TARBALL="${PACKAGE}-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
    1.19 -WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
    1.20 -TAGS="network DNS"
    1.21 +WGET_URL="https://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
    1.22 +
    1.23 +BUILD_DEPENDS="bash"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29  	# GCC 4.5 fix
    1.30  	sed -i 's/"$@" >/$@ >/' configure.lib
    1.31 -	bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
    1.32 +	bash ./configure &&
    1.33 +	make staticlib sharedlib rblcheck_s dnsget_s
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/lib $fs/usr/bin
    1.40 -	cp -a $src/libudns.so.0 $fs/usr/lib
    1.41 -	ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
    1.42 -	cp -a $src/dnsget_s $fs/usr/bin/dnsget
    1.43 -	cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
    1.44 +	mkdir -p $fs/usr/lib
    1.45 +	mkdir -p $fs/usr/bin
    1.46 +
    1.47 +	cp -a $src/libudns.so.0		$fs/usr/lib
    1.48 +	ln -s /usr/lib/libudns.so.0	$fs/usr/lib/libudns.so
    1.49 +	cp -a $src/dnsget_s		$fs/usr/bin/dnsget
    1.50 +	cp -a $src/rblcheck_s		$fs/usr/bin/rblcheck
    1.51  }
    1.52 -