wok-6.x annotate siproxd/receipt @ rev 12629
exosip: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 29 12:47:50 2012 +0200 (2012-04-29) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="siproxd" |
pascal@11227 | 4 VERSION="0.8.1" |
pascal@11227 | 5 CATEGORY="network" |
pascal@11227 | 6 SHORT_DESC="A masquerading SIP Proxy Server." |
pascal@11227 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11227 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11227 | 9 WEB_SITE="http://siproxd.sourceforge.net/" |
pascal@11227 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11227 | 11 CONFIG_FILES="/etc/siproxd" |
pascal@11227 | 12 |
pascal@11227 | 13 DEPENDS="osip" |
pascal@11227 | 14 BUILD_DEPENDS="osip-dev" |
pascal@11227 | 15 |
pascal@11227 | 16 # Rules to configure and make the package. |
pascal@11227 | 17 compile_rules() |
pascal@11227 | 18 { |
pascal@11227 | 19 cd $src |
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@11227 | 26 make DESTDIR=$PWD/_pkg 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@11227 | 32 mkdir -p $fs/usr |
pascal@11227 | 33 cp -a $_pkg/etc $fs |
pascal@11227 | 34 cp -a $_pkg/usr/sbin $fs/usr |
pascal@11227 | 35 cp -a $_pkg/usr/lib $fs/usr |
pascal@11227 | 36 } |