wok annotate 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
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="siproxd"
pascal@11227 4 VERSION="0.8.1"
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@11227 15 BUILD_DEPENDS="osip-dev"
pascal@11227 16
pascal@11227 17 # Rules to configure and make the package.
pascal@11227 18 compile_rules()
pascal@11227 19 {
pascal@11227 20 cd $src
pascal@11227 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
pascal@11227 22 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11227 23 --sysconfdir=/etc/siproxd \
pascal@11227 24 --localstatedir=/var \
pascal@11227 25 $CONFIGURE_ARGS &&
pascal@11227 26 make &&
pascal@15593 27 make DESTDIR=$DESTDIR install
pascal@11227 28 }
pascal@11227 29
pascal@11227 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 31 genpkg_rules()
pascal@11227 32 {
pascal@11227 33 mkdir -p $fs/usr
pascal@15593 34 cp -a $install/etc $fs
pascal@15593 35 cp -a $install/usr/sbin $fs/usr
pascal@15593 36 cp -a $install/usr/lib $fs/usr
pascal@11227 37 }