wok-6.x view siproxd/receipt @ rev 20557
Up iperf (2.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 12 18:18:52 2018 +0100 (2018-12-12) |
parents | 3b4e4318134e |
children | 44d55cb24c23 |
line source
1 # SliTaz package receipt.
3 PACKAGE="siproxd"
4 VERSION="0.8.1"
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 cd $src
21 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
22 ./configure --prefix=/usr --mandir=/usr/share/man \
23 --sysconfdir=/etc/siproxd \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/etc $fs
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 }