wok view udns/receipt @ rev 21576
Update some websites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 19 13:14:32 2019 +0200 (2019-05-19) |
parents | bb584aee2ace |
children | 4d2f27498c4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="udns"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Syncronous and asyncronous DNS resolver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="${PACKAGE}-$VERSION.tar.gz"
10 WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html"
11 WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL"
12 TAGS="network DNS"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # GCC 4.5 fix
19 sed -i 's/"$@" >/$@ >/' configure.lib
20 bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin
27 cp -a $src/libudns.so.0 $fs/usr/lib
28 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
29 cp -a $src/dnsget_s $fs/usr/bin/dnsget
30 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
31 }