wok diff pjsip/receipt @ rev 25420

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 08 07:39:58 2022 +0000 (22 months ago)
parents a77f941b8df6
children 0262035dc1e7
line diff
     1.1 --- a/pjsip/receipt	Sat May 14 18:19:29 2022 +0000
     1.2 +++ b/pjsip/receipt	Mon Aug 08 07:39:58 2022 +0000
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pjsip"
     1.7 -SOURCE="pjproject"
     1.8 -VERSION="2.8"
     1.9 +VERSION="2.11.1"
    1.10  CATEGORY="network"
    1.11  SHORT_DESC="library SIP, SDP, RTP, STUN, TURN, and ICE."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.pjsip.org/"
    1.15 +REPOLOGY="pjproject"
    1.16 +
    1.17 +SOURCE="pjproject"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="https://www.pjsip.org/"
    1.20 -WGET_URL="https://github.com/pjsip/pjproject/archive/refs/tags/$VERSION.tar.gz"
    1.21 +WGET_URL="https://github.com/$PACKAGE/$SOURCE/archive/$VERSION.tar.gz"
    1.22  
    1.23  DEPENDS="libssl opus"
    1.24 -BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev"
    1.25 +BUILD_DEPENDS="alsa-lib-dev openssl-dev opus-dev python-dev"
    1.26  
    1.27  # What is the latest version available today?
    1.28  current_version()
    1.29 @@ -24,17 +26,36 @@
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	./configure --prefix=/usr \
    1.34 -		--enable-shared --disable-static --enable-memalign-hack \
    1.35 -		--disable-sound --disable-sdl --disable-v4l2 \
    1.36 -		--disable-ffmpeg --disable-openh264 --disable-libyuv \
    1.37 -		--disable-speex-aec --disable-bcg729 --disable-l16-codec \
    1.38 -		--disable-g722-codec --disable-g7221-codec --disable-opencore-amr \
    1.39 -		--disable-silk --disable-video --disable-ext-sound --disable-ipp \
    1.40 -		--without-external-pa --without-external-srtp --disable-resample \
    1.41 -		--disable-libwebrtc --enable-epoll $CONFIGURE_ARGS &&
    1.42 -	make -j 1 &&
    1.43 -	make DESTDIR=$DESTDIR install
    1.44 +	./configure			\
    1.45 +		--prefix=/usr		\
    1.46 +		--enable-shared		\
    1.47 +		--disable-static	\
    1.48 +		--enable-memalign-hack	\
    1.49 +		--disable-sound		\
    1.50 +		--disable-sdl		\
    1.51 +		--disable-v4l2		\
    1.52 +		--disable-ffmpeg	\
    1.53 +		--disable-openh264	\
    1.54 +		--disable-libyuv	\
    1.55 +		--disable-speex-aec	\
    1.56 +		--disable-bcg729	\
    1.57 +		--disable-l16-codec	\
    1.58 +		--disable-g722-codec	\
    1.59 +		--disable-g7221-codec	\
    1.60 +		--disable-opencore-amr	\
    1.61 +		--disable-silk		\
    1.62 +		--disable-video		\
    1.63 +		--disable-ext-sound	\
    1.64 +		--disable-ipp		\
    1.65 +		--without-external-pa	\
    1.66 +		--without-external-srtp	\
    1.67 +		--disable-resample	\
    1.68 +		--disable-libwebrtc	\
    1.69 +		--enable-epoll		\
    1.70 +		$CONFIGURE_ARGS &&
    1.71 +	make &&
    1.72 +	make install DESTDIR=$DESTDIR
    1.73 +
    1.74  	cd pjsip-apps/src/py_pjsua
    1.75  	python setup.py install --root=$DESTDIR
    1.76  }
    1.77 @@ -42,6 +63,5 @@
    1.78  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.79  genpkg_rules()
    1.80  {
    1.81 -	mkdir -p $fs/usr/lib
    1.82 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.83 +	cook_copy_files	*.so*
    1.84  }