wok-current view siproxd/receipt @ rev 23512

updated python-netifaces (0.8 -> 0.10.9)
author Hans-G?nter Theisgen
date Mon Apr 06 10:53:56 2020 +0100 (2020-04-06)
parents 3b3749beba6d
children 0c04fc34847a
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 rm -f $install/usr/share/doc/Makefile*
35 cp -a $install/etc $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }