wok-6.x view udns/receipt @ rev 24088
linux-aufs, linux-cloop: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:26:24 2021 +0000 (2021-07-11) |
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 }