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