wok-6.x rev 19631
Add pjsip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 12 21:01:45 2017 +0100 (2017-01-12) |
parents | 65be6fea1437 |
children | ee9d75253dc1 |
files | pjsip-dev/receipt pjsip/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pjsip-dev/receipt Thu Jan 12 21:01:45 2017 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pjsip-dev" 1.7 +VERSION="2.5.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE, developement files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.pjsip.org/" 1.13 +WANTED="pjsip" 1.14 + 1.15 +SEPENDS="pjsip pkg-config" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/lib/*.a $fs/usr/lib 1.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $install/usr/include $fs/usr 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pjsip/receipt Thu Jan 12 21:01:45 2017 +0100 2.3 @@ -0,0 +1,37 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="pjsip" 2.7 +SOURCE="pjproject" 2.8 +VERSION="2.5.5" 2.9 +CATEGORY="network" 2.10 +SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +LICENSE="GPL2" 2.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.pjsip.org/" 2.15 +WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL" 2.16 + 2.17 +DEPENDS="libssl opus" 2.18 +BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man \ 2.25 + --enable-shared --disable-static --enable-memalign-hack \ 2.26 + --disable-sound --disable-sdl --disable-v4l2 \ 2.27 + --disable-ffmpeg --disable-openh264 --disable-libyuv \ 2.28 + $CONFIGURE_ARGS && 2.29 + make -j 1 && 2.30 + make DESTDIR=$DESTDIR install 2.31 + cd pjsip-apps/src/py_pjsua 2.32 + python setup.py install --root=$DESTDIR 2.33 +} 2.34 + 2.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.36 +genpkg_rules() 2.37 +{ 2.38 + mkdir -p $fs/usr/lib 2.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.40 +}