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

Up evas_generic_loaders (1.7.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 11:39:29 2022 +0000 (2022-05-18)
parents ad8b9ff412d2
children adcf8ba4b15a
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.gz"
11 WEB_SITE="https://www.pjsip.org/"
12 WGET_URL="https://github.com/pjsip/pjproject/archive/refs/tags/$VERSION.tar.gz"
14 DEPENDS="libssl opus"
15 BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/pjsip/pjproject/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --enable-shared --disable-static --enable-memalign-hack \
29 --disable-sound --disable-sdl --disable-v4l2 \
30 --disable-ffmpeg --disable-openh264 --disable-libyuv \
31 --disable-speex-aec --disable-bcg729 --disable-l16-codec \
32 --disable-g722-codec --disable-g7221-codec --disable-opencore-amr \
33 --disable-silk --disable-video --disable-ext-sound --disable-ipp \
34 --without-external-pa --without-external-srtp --disable-resample \
35 --disable-libwebrtc --enable-epoll $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 cd pjsip-apps/src/py_pjsua
39 python setup.py install --root=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }