wok annotate udns/receipt @ rev 23836

Up jbig2dec (0.18), metasploit (5.0.91), nginx (1.19.0), spamassassin (3.4.4), sqlite (3.32.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:15:25 2020 +0000 (2020-06-01)
parents 2a21689b0af7
children 934055de50e2
rev   line source
pascal@2131 1 # SliTaz package receipt.
pascal@2131 2
pascal@2131 3 PACKAGE="udns"
Hans-G?nter@22070 4 VERSION="0.4"
pascal@2131 5 CATEGORY="network"
Hans-G?nter@22070 6 TAGS="network DNS"
Hans-G?nter@22070 7 SHORT_DESC="Synchronous and asynchronous DNS resolver."
pascal@2131 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 9 LICENSE="LGPL2.1"
Hans-G?nter@22070 10 WEB_SITE="https://www.corpit.ru/mjt/$PACKAGE.html"
Hans-G?nter@22070 11
slaxemulator@8435 12 TARBALL="${PACKAGE}-$VERSION.tar.gz"
Hans-G?nter@22070 13 WGET_URL="https://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
Hans-G?nter@22070 14
Hans-G?nter@22070 15 BUILD_DEPENDS="bash"
pascal@2131 16
pascal@2131 17 # Rules to configure and make the package.
pascal@2131 18 compile_rules()
pascal@2131 19 {
pascal@5946 20 # GCC 4.5 fix
pascal@5946 21 sed -i 's/"$@" >/$@ >/' configure.lib
Hans-G?nter@22070 22 bash ./configure &&
Hans-G?nter@22070 23 make staticlib sharedlib rblcheck_s dnsget_s
pascal@2131 24 }
pascal@2131 25
pascal@2131 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2131 27 genpkg_rules()
pascal@2131 28 {
Hans-G?nter@22070 29 mkdir -p $fs/usr/lib
Hans-G?nter@22070 30 mkdir -p $fs/usr/bin
Hans-G?nter@22070 31
Hans-G?nter@22070 32 cp -a $src/libudns.so.0 $fs/usr/lib
Hans-G?nter@22070 33 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
Hans-G?nter@22070 34 cp -a $src/dnsget_s $fs/usr/bin/dnsget
Hans-G?nter@22070 35 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
pascal@2131 36 }