wok rev 23259

updated openal and openal-dev (1.16.0 -> 1.20.1)
author Hans-G?nter Theisgen
date Thu Mar 26 10:40:26 2020 +0100 (9 days ago)
parents 5e00d55089d7
children 03ab355816ec
files openal-dev/receipt openal/receipt
line diff
     1.1 --- a/openal-dev/receipt	Thu Mar 26 06:55:46 2020 +0100
     1.2 +++ b/openal-dev/receipt	Thu Mar 26 10:40:26 2020 +0100
     1.3 @@ -2,20 +2,21 @@
     1.4  
     1.5  PACKAGE="openal-dev"
     1.6  SOURCE="openal-soft"
     1.7 -VERSION="1.16.0"
     1.8 +VERSION="1.20.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="cross-platform 3D audio API, development files."
    1.11 +SHORT_DESC="Cross-platform 3D audio API, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="LGPL2"
    1.14 -WEB_SITE="http://www.openal.org/"
    1.15 -WANTED="openal"
    1.16 +WEB_SITE="https://www.openal-soft.org/"
    1.17  
    1.18  DEPENDS="openal pkg-config"
    1.19 +WANTED="openal"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.30  }
     2.1 --- a/openal/receipt	Thu Mar 26 06:55:46 2020 +0100
     2.2 +++ b/openal/receipt	Thu Mar 26 10:40:26 2020 +0100
     2.3 @@ -1,22 +1,28 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="openal"
     2.7 -SOURCE="openal-soft"
     2.8 -VERSION="1.16.0"
     2.9 +VERSION="1.20.1"
    2.10  CATEGORY="multimedia"
    2.11 +TAGS="multimedia audio sound 3D"
    2.12  SHORT_DESC="cross-platform 3D audio API."
    2.13  MAINTAINER="pascal.bellard@slitaz.org"
    2.14  LICENSE="LGPL2"
    2.15 +WEB_SITE="https://www.openal-soft.org/"
    2.16 +
    2.17 +SOURCE="openal-soft"
    2.18  TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.19 -WEB_SITE="http://www.openal.org/"
    2.20 -WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL"
    2.21 -BUILD_DEPENDS="cmake"
    2.22 -TAGS="multimedia audio sound 3D"
    2.23 +WGET_URL="${WEB_SITE}$PACKAGE-releases/$TARBALL"
    2.24 +
    2.25 +DEPENDS="gcc83-lib-base"
    2.26 +BUILD_DEPENDS="cmake gcc83"
    2.27  
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	cmake -DCMAKE_INSTALL_PREFIX=/usr
    2.32 +	export	CC=gcc-83
    2.33 +	export	CXX=g++-83
    2.34 +
    2.35 +	cmake -DCMAKE_INSTALL_PREFIX=/usr &&
    2.36  	make &&
    2.37  	make install
    2.38  }
    2.39 @@ -25,8 +31,9 @@
    2.40  genpkg_rules()
    2.41  {
    2.42  	mkdir -p $fs/usr/lib
    2.43 -	cp -a $install/usr/bin $fs/usr
    2.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.45 +
    2.46 +	cp -a $install/usr/bin		$fs/usr
    2.47 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.48  }
    2.49  
    2.50  # Pre and post install commands for Tazpkg.
    2.51 @@ -34,8 +41,8 @@
    2.52  {
    2.53  	[ -s $1/etc/rcS.conf ] &&
    2.54  	case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in
    2.55 -	*\ snd-pcm-oss\ *) ;;
    2.56 -	*) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;;
    2.57 +		*\ snd-pcm-oss\ *) ;;
    2.58 +		*) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;;
    2.59  	esac
    2.60  	[ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true
    2.61  }