wok view siproxd/receipt @ rev 11869

up xcb-util 0.3.8
author Samuel Trassare <samuel_trassare@yahoo.com>
date Mon Feb 27 13:36:36 2012 -0800 (2012-02-27)
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 }