SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "stuntman"

# SliTaz package receipt.

PACKAGE="stuntman"
VERSION="1.2.15"
CATEGORY="network"
SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://www.stunprotocol.org/"

SOURCE="stunserver"
TARBALL="$SOURCE-$VERSION.tgz"
WGET_URL="$WEB_SITE/$TARBALL"

DEPENDS="gcc-lib-base libcrypto zlib"
BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed '/stunserver-[0-9]/!d;s|.*stunserver-\(.*\).tgz.*|\1|;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 $src/stunserver    $fs/usr/bin
    cp $src/stunclient    $fs/usr/bin
    cp $src/stuntestcode    $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)