wok annotate stund/receipt @ rev 25760

created recipes for thunar-archive-plugin-lang and thunar-volman-lang
author Hans-G?nter Theisgen
date Sun Sep 01 15:08:01 2024 +0100 (2 months ago)
parents ca38ecbe9976
children
rev   line source
pascal@15868 1 # SliTaz package receipt.
pascal@15868 2
pascal@15868 3 PACKAGE="stund"
pascal@15868 4 VERSION="0.97"
pascal@15868 5 CATEGORY="network"
pascal@15868 6 SHORT_DESC="a simple STUN server and client."
pascal@15868 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15868 8 LICENSE="other"
pascal@15868 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@25107 10 WEB_SITE="https://web.archive.org/web/20220525025629/https://sourceforge.net/projects/stun/"
pascal@15868 11 WGET_URL="$SF_MIRROR/stun/$TARBALL"
pascal@15868 12
pascal@15868 13 DEPENDS="gcc-lib-base"
pascal@15868 14 BUILD_DEPENDS=""
pascal@15868 15
pascal@24348 16 # What is the latest version available today?
pascal@24348 17 current_version()
pascal@24348 18 {
pascal@24348 19 wget -O - https://sourceforge.net/projects/stun/files/stun/ 2>/dev/null | \
pascal@25607 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*/stun/||;s|/.*||;q'
pascal@24348 22 }
pascal@24348 23
pascal@15868 24 # Rules to configure and make the package.
pascal@15868 25 compile_rules()
pascal@15868 26 {
pascal@15868 27 make
pascal@15868 28 }
pascal@15868 29
pascal@15868 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15868 31 genpkg_rules()
pascal@15868 32 {
pascal@15868 33 mkdir -p $fs/usr/bin
pascal@15868 34 cp -a $src/server $fs/usr/bin/stunserver
pascal@15868 35 cp -a $src/client $fs/usr/bin/stunclient
pascal@15868 36 }