wok-current view coturn/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | c4968381aed9 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/var $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/examples $fs/usr/share
46 cp -a $install/usr/share/turnserver $fs/usr/share
47 }