SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "stund"

# SliTaz package receipt.

PACKAGE="stund"
VERSION="0.97"
CATEGORY="network"
SHORT_DESC="a simple STUN server and client."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="https://web.archive.org/web/20220525025629/https://sourceforge.net/projects/stun/"
WGET_URL="$SF_MIRROR/stun/$TARBALL"

DEPENDS="gcc-lib-base"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/stun/files/stun/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/stun/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/server $fs/usr/bin/stunserver
    cp -a $src/client $fs/usr/bin/stunclient
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)