SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "siproxd"

# SliTaz package receipt.

PACKAGE="siproxd"
VERSION="0.8.1"
CATEGORY="network"
SHORT_DESC="A masquerading SIP Proxy Server."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://siproxd.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
CONFIG_FILES="/etc/siproxd"

DEPENDS="osip"
BUILD_DEPENDS="osip-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    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
    ./configure --prefix=/usr --mandir=/usr/share/man \
        --sysconfdir=/etc/siproxd \
        --localstatedir=/var \
    $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    mkdir -p $fs/usr
    cp -a $_pkg/etc $fs
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)