wok rev 25011

updated opal and opal-dev (3.6.6 -> 3.10.10)
author Hans-G?nter Theisgen
date Mon May 16 17:48:38 2022 +0100 (2022-05-16)
parents 11d19e4dd71e
children affc6fdda56c
files opal-dev/receipt opal/receipt
line diff
     1.1 --- a/opal-dev/receipt	Mon May 16 17:33:55 2022 +0100
     1.2 +++ b/opal-dev/receipt	Mon May 16 17:48:38 2022 +0100
     1.3 @@ -1,18 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="opal-dev"
     1.7 -VERSION="3.6.6"
     1.8 +VERSION="3.10.10"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Open Phone Abstraction library devel files."
    1.11 +SHORT_DESC="Open Phone Abstraction library development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MPL"
    1.14 +WEB_SITE="https://www.ekiga.org/"
    1.15 +
    1.16  WANTED="opal"
    1.17 -WEB_SITE="https://www.ekiga.org/"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp $install/usr/lib/*.a $fs/usr/lib
    1.25 +	cook_copy_folders	include
    1.26 +	cook_copy_files		*.*a
    1.27  }
     2.1 --- a/opal/receipt	Mon May 16 17:33:55 2022 +0100
     2.2 +++ b/opal/receipt	Mon May 16 17:48:38 2022 +0100
     2.3 @@ -1,19 +1,21 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="opal"
     2.7 -VERSION="3.6.6"
     2.8 +VERSION="3.10.10"
     2.9  CATEGORY="network"
    2.10 +TAGS="telephony"
    2.11  SHORT_DESC="Open Phone Abstraction library."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MPL"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 -WEB_SITE="https://www.ekiga.org/"
    2.16 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.17 -TAGS="telephony"
    2.18 +WEB_SITE="http://www.opalvoip.org/"
    2.19 +REPOLOGY="opal-voip"
    2.20  
    2.21 -DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \
    2.22 -openssl ptlib tiff zlib"
    2.23 -BUILD_DEPENDS="ptlib ptlib-dev openssl-dev"
    2.24 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.25 +WGET_URL="https://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.26 +
    2.27 +DEPENDS="cyrus-sasl expat jpeg libogg libsdl libtheora libunixODBC
    2.28 +	openssl ptlib tiff zlib"
    2.29 +BUILD_DEPENDS="bash openssl-dev ptlib ptlib-dev"
    2.30  
    2.31  current_version()
    2.32  {
    2.33 @@ -24,18 +26,24 @@
    2.34  # Rules to configure and make the package.
    2.35  compile_rules()
    2.36  {
    2.37 -	cd $src
    2.38 -	./configure --prefix=/usr --bindir=/bin \
    2.39 -	--libexecdir=/usr/bin --mandir=/usr/share/man \
    2.40 -	$CONFIGURE_ARGS &&
    2.41 +	export	SHELL=/bin/bash
    2.42 +	export	CONFIG_SHELL=/bin/bash
    2.43 +
    2.44 +	./configure			\
    2.45 +		--prefix=/usr		\
    2.46 +		--bindir=/bin		\
    2.47 +		--libexecdir=/usr/bin	\
    2.48 +		--mandir=/usr/share/man	\
    2.49 +		--enable-video		\
    2.50 +		$CONFIGURE_ARGS &&
    2.51  	make $MAKEFLAGS &&
    2.52 -	make DESTDIR=$DESTDIR install
    2.53 +	make install DESTDIR=$DESTDIR
    2.54  }
    2.55  
    2.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.57  genpkg_rules()
    2.58  {
    2.59  	mkdir -p $fs/usr
    2.60 -	cp -a $install/usr/lib $fs/usr
    2.61 -	rm -f $fs/usr/lib/*.a
    2.62 +	cp -a $install/usr/lib	$fs/usr
    2.63 +	rm -f			$fs/usr/lib/*.a
    2.64  }