wok view pjsip/receipt @ rev 23982
dog: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 21 13:13:55 2020 +0000 (2020-11-21) |
parents | bdd5dd52ad52 |
children | ad8b9ff412d2 |
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="https://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 }