wok view pjsip/receipt @ rev 25162
updated pycurl (7.43.0.3 -> 7.45.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:12:48 2022 +0100 (2022-07-01) |
parents | a77f941b8df6 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pjsip"
4 VERSION="2.11.1"
5 CATEGORY="network"
6 SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.pjsip.org/"
10 REPOLOGY="pjproject"
12 SOURCE="pjproject"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/$PACKAGE/$SOURCE/archive/$VERSION.tar.gz"
16 DEPENDS="libssl opus"
17 BUILD_DEPENDS="alsa-lib-dev openssl-dev opus-dev python-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/pjsip/pjproject/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --enable-shared \
32 --disable-static \
33 --enable-memalign-hack \
34 --disable-sound \
35 --disable-sdl \
36 --disable-v4l2 \
37 --disable-ffmpeg \
38 --disable-openh264 \
39 --disable-libyuv \
40 --disable-speex-aec \
41 --disable-bcg729 \
42 --disable-l16-codec \
43 --disable-g722-codec \
44 --disable-g7221-codec \
45 --disable-opencore-amr \
46 --disable-silk \
47 --disable-video \
48 --disable-ext-sound \
49 --disable-ipp \
50 --without-external-pa \
51 --without-external-srtp \
52 --disable-resample \
53 --disable-libwebrtc \
54 --enable-epoll \
55 $CONFIGURE_ARGS &&
56 make &&
57 make install DESTDIR=$DESTDIR
59 cd pjsip-apps/src/py_pjsua
60 python setup.py install --root=$DESTDIR
61 }
63 # Rules to gen a SliTaz package suitable for Tazpkg.
64 genpkg_rules()
65 {
66 cook_copy_files *.so*
67 }