wok-current view coturn/receipt @ rev 23899

busybox: add crontabs in CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 08:34:55 2020 +0000 (2020-07-28)
parents f9002b3173a2
children c4968381aed9
line source
1 # SliTaz package receipt.
3 PACKAGE="coturn"
4 VERSION="4.5.1.3"
5 CATEGORY="network"
6 SHORT_DESC="Free open source implementation of TURN and STUN Server"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/coturn/coturn"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
12 TAGS="stun turn"
14 DEPENDS="libssl libsqlite zlib libevent"
15 BUILD_DEPENDS="openssl-dev sqlite-dev zlib-dev libevent-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/var $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/examples $fs/usr/share
37 cp -a $install/usr/share/turnserver $fs/usr/share
38 }