wok diff pjsip/receipt @ rev 19930
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 15:00:16 2017 +0200 (2017-04-26) |
parents | |
children | bdd5dd52ad52 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pjsip/receipt Wed Apr 26 15:00:16 2017 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pjsip" 1.7 +SOURCE="pjproject" 1.8 +VERSION="2.5.5" 1.9 +CATEGORY="network" 1.10 +SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL2" 1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.pjsip.org/" 1.15 +WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL" 1.16 + 1.17 +DEPENDS="libssl opus" 1.18 +BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + --enable-shared --disable-static --enable-memalign-hack \ 1.26 + --disable-sound --disable-sdl --disable-v4l2 \ 1.27 + --disable-ffmpeg --disable-openh264 --disable-libyuv \ 1.28 + $CONFIGURE_ARGS && 1.29 + make -j 1 && 1.30 + make DESTDIR=$DESTDIR install 1.31 + cd pjsip-apps/src/py_pjsua 1.32 + python setup.py install --root=$DESTDIR 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/lib 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 +}