wok view stuntman/receipt @ rev 24912

updated mm-common (1.0.0 -> 1.0.4)
author Hans-G?nter Theisgen
date Sat Apr 09 15:43:43 2022 +0100 (2022-04-09)
parents 046ec054ad86
children bd7510903310
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="http://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 }