# HG changeset patch # User Pascal Bellard # Date 1484251305 -3600 # Node ID 0d67a482cd3feef78ae7be387f6648bc71d24266 # Parent 65be6fea143769c7d95b9b3613e4571c6a30a517 Add pjsip diff -r 65be6fea1437 -r 0d67a482cd3f pjsip-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pjsip-dev/receipt Thu Jan 12 21:01:45 2017 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="pjsip-dev" +VERSION="2.5.5" +CATEGORY="development" +SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE, developement files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://www.pjsip.org/" +WANTED="pjsip" + +SEPENDS="pjsip pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r 65be6fea1437 -r 0d67a482cd3f pjsip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pjsip/receipt Thu Jan 12 21:01:45 2017 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="pjsip" +SOURCE="pjproject" +VERSION="2.5.5" +CATEGORY="network" +SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.pjsip.org/" +WGET_URL="${WEB_SITE}release/$VERSION/$TARBALL" + +DEPENDS="libssl opus" +BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-shared --disable-static --enable-memalign-hack \ + --disable-sound --disable-sdl --disable-v4l2 \ + --disable-ffmpeg --disable-openh264 --disable-libyuv \ + $CONFIGURE_ARGS && + make -j 1 && + make DESTDIR=$DESTDIR install + cd pjsip-apps/src/py_pjsua + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}