wok view udns/receipt @ rev 24693

updated jwm (2.3.7 -> 2.4.1)
author Hans-G?nter Theisgen
date Sun Mar 13 07:13:46 2022 +0100 (2022-03-13)
parents 4d2f27498c4b
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # GCC 4.5 fix
28 sed -i 's/"$@" >/$@ >/' configure.lib
29 bash ./configure &&
30 make staticlib sharedlib rblcheck_s dnsget_s
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/bin
39 cp -a $src/libudns.so.0 $fs/usr/lib
40 ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so
41 cp -a $src/dnsget_s $fs/usr/bin/dnsget
42 cp -a $src/rblcheck_s $fs/usr/bin/rblcheck
43 }