wok annotate pjsip/receipt @ rev 25294

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