wok-next annotate siproxd/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | 10df65db91ad |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="siproxd" |
pascal@11227 | 4 VERSION="0.8.1" |
pascal@11227 | 5 CATEGORY="network" |
al@20534 | 6 SHORT_DESC="A masquerading SIP Proxy Server" |
pascal@11227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
al@20534 | 9 WEB_SITE="http://siproxd.sourceforge.net/" |
al@20534 | 10 |
pascal@11227 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 13 |
pascal@15595 | 14 BUILD_DEPENDS="osip-dev libtool" |
pascal@11227 | 15 |
al@20534 | 16 compile_rules() { |
pascal@11227 | 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 |
al@20534 | 18 |
al@20534 | 19 ./configure \ |
pascal@11227 | 20 --sysconfdir=/etc/siproxd \ |
al@20534 | 21 $CONFIGURE_ARGS && |
al@20604 | 22 fix libtool && |
pascal@11227 | 23 make && |
al@21020 | 24 make DESTDIR=$install install |
pascal@11227 | 25 } |
pascal@11227 | 26 |
al@20534 | 27 genpkg_rules() { |
al@20534 | 28 copy @std |
al@20534 | 29 DEPENDS="osip" |
al@20534 | 30 CONFIG_FILES="/etc/siproxd/" |
pascal@11227 | 31 } |