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