wok annotate siproxd/receipt @ rev 21653

Up exosip (5.1.0), siproxd (0.8.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 30 17:55:07 2019 +0200 (2019-05-30)
parents b277cf36e71b
children 3b3749beba6d
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="siproxd"
pascal@21653 4 VERSION="0.8.2"
pascal@11227 5 CATEGORY="network"
pascal@11227 6 SHORT_DESC="A masquerading SIP Proxy Server."
pascal@11227 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
pascal@11227 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11227 10 WEB_SITE="http://siproxd.sourceforge.net/"
pascal@11227 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11227 12 CONFIG_FILES="/etc/siproxd"
pascal@11227 13
pascal@11227 14 DEPENDS="osip"
pascal@15595 15 BUILD_DEPENDS="osip-dev libtool"
pascal@11227 16
pascal@11227 17 # Rules to configure and make the package.
pascal@11227 18 compile_rules()
pascal@11227 19 {
pascal@11227 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
pascal@11227 21 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11227 22 --sysconfdir=/etc/siproxd \
pascal@11227 23 --localstatedir=/var \
pascal@11227 24 $CONFIGURE_ARGS &&
pascal@11227 25 make &&
pascal@15593 26 make DESTDIR=$DESTDIR install
pascal@11227 27 }
pascal@11227 28
pascal@11227 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 30 genpkg_rules()
pascal@11227 31 {
pascal@11227 32 mkdir -p $fs/usr
pascal@15593 33 cp -a $install/etc $fs
pascal@15593 34 cp -a $install/usr/sbin $fs/usr
pascal@15593 35 cp -a $install/usr/lib $fs/usr
pascal@11227 36 }