SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dnstracer"

# SliTaz package receipt.

PACKAGE="dnstracer"
VERSION="1.9"
CATEGORY="network"
SHORT_DESC="Traces a chain of DNS servers to the source."
MAINTAINER="paul@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.mavetju.org/unix/dnstracer.php"
WGET_URL="http://www.mavetju.org/download/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="autoconf"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    autoconf
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)