wok-current view stuntman/receipt @ rev 24578
freetype-dev: add pkgconfig folder
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 10:47:38 2022 +0000 (2022-02-27) |
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 }