wok-6.x view siproxd/receipt @ rev 24407
updated clamav and clamav-dev again (0.102.3 -> 0.104.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 14:12:35 2022 +0100 (2022-02-09) |
parents | f9690e227edd |
children | 36ebaf6cbb62 |
line source
1 # SliTaz package receipt.
3 PACKAGE="siproxd"
4 VERSION="0.8.2"
5 CATEGORY="network"
6 SHORT_DESC="A masquerading SIP Proxy Server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://siproxd.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/siproxd"
14 DEPENDS="osip"
15 BUILD_DEPENDS="osip-dev libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.[zt].*||;s|_|.|g;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 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
29 ./configure --prefix=/usr --mandir=/usr/share/man \
30 --sysconfdir=/etc/siproxd \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $install/usr/share
41 cp -a $src/doc $install/usr/share
42 rm -f $install/usr/share/doc/Makefile*
43 cp -a $install/etc $fs
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 }