wok-next view siproxd/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://siproxd.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="osip-dev libtool"
16 compile_rules() {
17 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
19 ./configure \
20 --sysconfdir=/etc/siproxd \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="osip"
30 CONFIG_FILES="/etc/siproxd/"
31 }