wok-current annotate siproxd/receipt @ rev 17805
Up caja (1.9.3)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Mar 21 03:28:25 2015 -0300 (2015-03-21) |
parents | 3b4e4318134e |
children | 44d55cb24c23 |
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@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 cd $src |
pascal@11227 | 21 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 | 22 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@11227 | 23 --sysconfdir=/etc/siproxd \ |
pascal@11227 | 24 --localstatedir=/var \ |
pascal@11227 | 25 $CONFIGURE_ARGS && |
pascal@11227 | 26 make && |
pascal@15593 | 27 make DESTDIR=$DESTDIR install |
pascal@11227 | 28 } |
pascal@11227 | 29 |
pascal@11227 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 31 genpkg_rules() |
pascal@11227 | 32 { |
pascal@11227 | 33 mkdir -p $fs/usr |
pascal@15593 | 34 cp -a $install/etc $fs |
pascal@15593 | 35 cp -a $install/usr/sbin $fs/usr |
pascal@15593 | 36 cp -a $install/usr/lib $fs/usr |
pascal@11227 | 37 } |