wok view stuntman/receipt @ rev 25403

updated vzctl (3.0.25.1 -> 4.11.1)
author Hans-G?nter Theisgen
date Tue Aug 02 16:35:24 2022 +0100 (2022-08-02)
parents ad8b9ff412d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="stuntman"
4 VERSION="1.2.15"
5 CATEGORY="network"
6 SHORT_DESC="STUN protocol (Session Traversal Utilities for NAT)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://www.stunprotocol.org/"
11 SOURCE="stunserver"
12 TARBALL="$SOURCE-$VERSION.tgz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 DEPENDS="gcc-lib-base libcrypto zlib"
16 BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed '/stunserver-[0-9]/!d;s|.*stunserver-\(.*\).tgz.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
36 cp $src/stunserver $fs/usr/bin
37 cp $src/stunclient $fs/usr/bin
38 cp $src/stuntestcode $fs/usr/bin
39 }