wok-current view dnstracer/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents eb8067417980
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dnstracer"
4 VERSION="1.9"
5 CATEGORY="network"
6 SHORT_DESC="Traces a chain of DNS servers to the source."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mavetju.org/unix/dnstracer.php"
11 WGET_URL="http://www.mavetju.org/download/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="autoconf"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 autoconf
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }