wok-next view turnserver/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0c247ee1a841 |
children | d5aab818505e |
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 perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # configure script should be really fixed...
20 ln -s $src/missing /root
21 sed -i 's/_SVID_SOURCE/_DEFAULT_SOURCE/' src/Makefile*
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 $CONFIGURE_ARGS 2>&1 | grep -v //missing &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }