wok-current view siproxd/receipt @ rev 21692

simple-mtpfs: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 11:06:20 2019 +0200 (2019-06-04)
parents 44d55cb24c23
children f9690e227edd
line source
1 # SliTaz package receipt.
3 PACKAGE="siproxd"
4 VERSION="0.8.2"
5 CATEGORY="network"
6 SHORT_DESC="A masquerading SIP Proxy Server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://siproxd.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/siproxd"
14 DEPENDS="osip"
15 BUILD_DEPENDS="osip-dev libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/.*const ident.*/#undef lt_preloaded_symbols\n#define lt_preloaded_symbols lt_libltdl_LTX_preloaded_symbols\nextern const lt_dlsymlist lt_preloaded_symbols[];\n&/' src/plugins.c
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --sysconfdir=/etc/siproxd \
23 --localstatedir=/var \
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 $install/usr/share
33 cp -a $src/doc $install/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }