wok-6.x annotate turnserver/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents 52eb622a19b4
children 7dd01dedad38
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@5750 10 WEB_SITE="http://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