wok-6.x annotate pjsip/receipt @ rev 23570
added recipe for python-twodict
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 09:38:04 2020 +0100 (2020-04-07) |
parents | bdd5dd52ad52 |
children | ad8b9ff412d2 |
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@19631 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20669 | 11 WEB_SITE="https://www.pjsip.org/" |
pascal@19631 | 12 WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL" |
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@19631 | 17 # Rules to configure and make the package. |
pascal@19631 | 18 compile_rules() |
pascal@19631 | 19 { |
pascal@20668 | 20 ./configure --prefix=/usr \ |
pascal@19631 | 21 --enable-shared --disable-static --enable-memalign-hack \ |
pascal@19631 | 22 --disable-sound --disable-sdl --disable-v4l2 \ |
pascal@19631 | 23 --disable-ffmpeg --disable-openh264 --disable-libyuv \ |
pascal@20668 | 24 --disable-speex-aec --disable-bcg729 --disable-l16-codec \ |
pascal@20668 | 25 --disable-g722-codec --disable-g7221-codec --disable-opencore-amr \ |
pascal@20668 | 26 --disable-silk --disable-video --disable-ext-sound --disable-ipp \ |
pascal@20668 | 27 --without-external-pa --without-external-srtp --disable-resample \ |
pascal@20668 | 28 --disable-libwebrtc --enable-epoll $CONFIGURE_ARGS && |
pascal@19631 | 29 make -j 1 && |
pascal@19631 | 30 make DESTDIR=$DESTDIR install |
pascal@19631 | 31 cd pjsip-apps/src/py_pjsua |
pascal@19631 | 32 python setup.py install --root=$DESTDIR |
pascal@19631 | 33 } |
pascal@19631 | 34 |
pascal@19631 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19631 | 36 genpkg_rules() |
pascal@19631 | 37 { |
pascal@19631 | 38 mkdir -p $fs/usr/lib |
pascal@19631 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19631 | 40 } |