wok view turnserver/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 52eb622a19b4
children 7dd01dedad38
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="http://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 }