wok view pjsip/receipt @ rev 19714
fix gnet
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 15 22:43:34 2017 +0100 (2017-02-15) |
parents | |
children | bdd5dd52ad52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pjsip"
4 SOURCE="pjproject"
5 VERSION="2.5.5"
6 CATEGORY="network"
7 SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pjsip.org/"
12 WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL"
14 DEPENDS="libssl opus"
15 BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --enable-shared --disable-static --enable-memalign-hack \
23 --disable-sound --disable-sdl --disable-v4l2 \
24 --disable-ffmpeg --disable-openh264 --disable-libyuv \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 cd pjsip-apps/src/py_pjsua
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }