wok annotate turnserver/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 5f6c5106b1f5
children
rev   line source
pascal@5750 1 # SliTaz package receipt.
pascal@5750 2
pascal@5750 3 PACKAGE="turnserver"
pascal@15869 4 VERSION="0.7.3"
pascal@5750 5 CATEGORY="network"
pascal@5750 6 SHORT_DESC="open-source TURN server implementation."
pascal@5750 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
pascal@5750 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25460 10 WEB_SITE="https://turnserver.sourceforge.net/"
pascal@5750 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14999 12
pascal@5750 13 DEPENDS="openssl"
pascal@5750 14 BUILD_DEPENDS="libconfuse openssl-dev"
pascal@5750 15
pascal@24340 16 # What is the latest version available today?
pascal@24340 17 current_version()
pascal@24340 18 {
pascal@24340 19 wget -O - https://sourceforge.net/projects/turnserver/files/ 2>/dev/null | \
pascal@24340 20 sed '/scope="row/!d;/tar/!d;s|.*/turnserver-||;s|.tar.*||;q'
pascal@24340 21 }
pascal@24340 22
pascal@5750 23 # Rules to configure and make the package.
pascal@5750 24 compile_rules()
pascal@5750 25 {
pascal@15037 26 # configure script should be really fixed...
pascal@15037 27 ln -s $src/missing /root
pascal@5750 28 cd $src
pascal@5750 29 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@15256 30 $CONFIGURE_ARGS 2>&1 | grep -v //missing &&
pascal@5750 31 make &&
pascal@12565 32 make DESTDIR=$DESTDIR install
pascal@5750 33 }
pascal@5750 34
pascal@5750 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5750 36 genpkg_rules()
pascal@5750 37 {
pascal@5750 38 mkdir -p $fs/usr
pascal@14999 39 cp -a $install/usr/bin $fs/usr
pascal@5750 40 }
pascal@5750 41