wok-6.x view pjsip/receipt @ rev 20668

Up pjsip (2.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 10:25:55 2019 +0100 (2019-01-21)
parents 0d67a482cd3f
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="pjsip"
4 SOURCE="pjproject"
5 VERSION="2.8"
6 CATEGORY="network"
7 SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pjsip.org/"
12 WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL"
14 DEPENDS="libssl opus"
15 BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --enable-shared --disable-static --enable-memalign-hack \
22 --disable-sound --disable-sdl --disable-v4l2 \
23 --disable-ffmpeg --disable-openh264 --disable-libyuv \
24 --disable-speex-aec --disable-bcg729 --disable-l16-codec \
25 --disable-g722-codec --disable-g7221-codec --disable-opencore-amr \
26 --disable-silk --disable-video --disable-ext-sound --disable-ipp \
27 --without-external-pa --without-external-srtp --disable-resample \
28 --disable-libwebrtc --enable-epoll $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 cd pjsip-apps/src/py_pjsua
32 python setup.py install --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }