wok annotate pjsip/receipt @ rev 25134

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