# 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 }