wok-current view siproxd/receipt @ rev 12899
Up: audiofile to 0.3.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon May 28 06:03:28 2012 +0000 (2012-05-28) |
parents | |
children | 3b4e4318134e |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://siproxd.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 CONFIG_FILES="/etc/siproxd"
13 DEPENDS="osip"
14 BUILD_DEPENDS="osip-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 }