wok-current annotate siproxd/receipt @ rev 22439
clementine 1.3.1 needs newer gstreamer 1.0
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon Dec 23 12:19:23 2019 +0000 (2019-12-23) |
parents | 3b3749beba6d |
children | 0c04fc34847a |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="siproxd" |
pascal@21653 | 4 VERSION="0.8.2" |
pascal@11227 | 5 CATEGORY="network" |
pascal@11227 | 6 SHORT_DESC="A masquerading SIP Proxy Server." |
pascal@11227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@11227 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 10 WEB_SITE="http://siproxd.sourceforge.net/" |
pascal@11227 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 12 CONFIG_FILES="/etc/siproxd" |
pascal@11227 | 13 |
pascal@11227 | 14 DEPENDS="osip" |
pascal@15595 | 15 BUILD_DEPENDS="osip-dev libtool" |
pascal@11227 | 16 |
pascal@11227 | 17 # Rules to configure and make the package. |
pascal@11227 | 18 compile_rules() |
pascal@11227 | 19 { |
pascal@11227 | 20 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 |
pascal@11227 | 21 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11227 | 22 --sysconfdir=/etc/siproxd \ |
pascal@11227 | 23 --localstatedir=/var \ |
pascal@11227 | 24 $CONFIGURE_ARGS && |
pascal@11227 | 25 make && |
pascal@15593 | 26 make DESTDIR=$DESTDIR install |
pascal@11227 | 27 } |
pascal@11227 | 28 |
pascal@11227 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 30 genpkg_rules() |
pascal@11227 | 31 { |
pascal@21692 | 32 mkdir -p $fs/usr $install/usr/share |
pascal@21692 | 33 cp -a $src/doc $install/usr/share |
pascal@21709 | 34 rm -f $install/usr/share/doc/Makefile* |
pascal@15593 | 35 cp -a $install/etc $fs |
pascal@15593 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@15593 | 37 cp -a $install/usr/lib $fs/usr |
pascal@11227 | 38 } |