wok diff siproxd/receipt @ rev 12954

remove awn-manager
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 15:45:23 2012 +0200 (2012-05-31)
parents
children 3b4e4318134e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/siproxd/receipt	Thu May 31 15:45:23 2012 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="siproxd"
     1.7 +VERSION="0.8.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A masquerading SIP Proxy Server."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://siproxd.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +CONFIG_FILES="/etc/siproxd"
    1.15 +
    1.16 +DEPENDS="osip"
    1.17 +BUILD_DEPENDS="osip-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	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
    1.24 +	./configure --prefix=/usr --mandir=/usr/share/man \
    1.25 +		--sysconfdir=/etc/siproxd \
    1.26 +		--localstatedir=/var \
    1.27 +	$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.33 +genpkg_rules()                                      
    1.34 +{
    1.35 +	mkdir -p $fs/usr
    1.36 +	cp -a $_pkg/etc $fs
    1.37 +	cp -a $_pkg/usr/sbin $fs/usr
    1.38 +	cp -a $_pkg/usr/lib $fs/usr
    1.39 +}