wok annotate pjsip/receipt @ rev 20102

Add plsh & pypdf2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 09 13:07:28 2017 +0200 (2017-10-09)
parents
children bdd5dd52ad52
rev   line source
pascal@19631 1 # SliTaz package receipt.
pascal@19631 2
pascal@19631 3 PACKAGE="pjsip"
pascal@19631 4 SOURCE="pjproject"
pascal@19631 5 VERSION="2.5.5"
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@19631 11 WEB_SITE="http://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@19631 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@19631 21 --mandir=/usr/share/man \
pascal@19631 22 --enable-shared --disable-static --enable-memalign-hack \
pascal@19631 23 --disable-sound --disable-sdl --disable-v4l2 \
pascal@19631 24 --disable-ffmpeg --disable-openh264 --disable-libyuv \
pascal@19631 25 $CONFIGURE_ARGS &&
pascal@19631 26 make -j 1 &&
pascal@19631 27 make DESTDIR=$DESTDIR install
pascal@19631 28 cd pjsip-apps/src/py_pjsua
pascal@19631 29 python setup.py install --root=$DESTDIR
pascal@19631 30 }
pascal@19631 31
pascal@19631 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19631 33 genpkg_rules()
pascal@19631 34 {
pascal@19631 35 mkdir -p $fs/usr/lib
pascal@19631 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19631 37 }