wok view siproxd/receipt @ rev 15593

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 03 18:28:51 2013 +0000 (2013-12-03)
parents 532ab3b57d40
children b277cf36e71b
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"
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 }