wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="udns"
4 VERSION="0.4"
5 CATEGORY="network"
6 TAGS="network DNS"
7 SHORT_DESC="Synchronous and asynchronous DNS resolver."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://www.corpit.ru/mjt/$PACKAGE.html"
12 TARBALL="${PACKAGE}-$VERSION.tar.gz"
13 WGET_URL="https://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="bash"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # GCC 4.5 fix
21 sed -i 's/"$@" >/$@ >/' configure.lib
22 bash ./configure &&
23 make staticlib sharedlib rblcheck_s dnsget_s
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 mkdir -p $fs/usr/bin
32 cp -a $src/libudns.so.0 $fs/usr/lib
33 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
34 cp -a $src/dnsget_s $fs/usr/bin/dnsget
35 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
36 }