wok view coturn/receipt @ rev 25788

xgalaga: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 08:52:14 2024 +0000 (2 months ago)
parents 60d5e8ab6201
children
line source
1 # SliTaz package receipt.
3 PACKAGE="coturn"
4 VERSION="4.5.2"
5 CATEGORY="network"
6 TAGS="stun turn"
7 SHORT_DESC="Free open source implementation of TURN and STUN Server."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://github.com/coturn/coturn"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="libevent libsqlite libssl zlib"
15 BUILD_DEPENDS="libevent-dev openssl-dev sqlite-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;/docker/d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/var $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/examples $fs/usr/share
47 cp -a $install/usr/share/turnserver $fs/usr/share
48 }