wok-6.x diff openal/receipt @ rev 23504
updated python-lxml (2.3 -> 4.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 09:13:27 2020 +0100 (2020-04-06) |
parents | f59250a6e10d |
children | 8efe024dc99f |
line diff
1.1 --- a/openal/receipt Tue Oct 22 12:57:36 2019 +0300 1.2 +++ b/openal/receipt Mon Apr 06 09:13:27 2020 +0100 1.3 @@ -1,22 +1,28 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="openal" 1.7 -SOURCE="openal-soft" 1.8 -VERSION="1.16.0" 1.9 +VERSION="1.20.1" 1.10 CATEGORY="multimedia" 1.11 +TAGS="multimedia audio sound 3D" 1.12 SHORT_DESC="cross-platform 3D audio API." 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="LGPL2" 1.15 +WEB_SITE="https://www.openal-soft.org/" 1.16 + 1.17 +SOURCE="openal-soft" 1.18 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://www.openal.org/" 1.20 -WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL" 1.21 -BUILD_DEPENDS="cmake" 1.22 -TAGS="multimedia audio sound 3D" 1.23 +WGET_URL="${WEB_SITE}$PACKAGE-releases/$TARBALL" 1.24 + 1.25 +DEPENDS="gcc83-lib-base" 1.26 +BUILD_DEPENDS="cmake gcc83" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - cmake -DCMAKE_INSTALL_PREFIX=/usr 1.32 + export CC=gcc-83 1.33 + export CXX=g++-83 1.34 + 1.35 + cmake -DCMAKE_INSTALL_PREFIX=/usr && 1.36 make && 1.37 make install 1.38 } 1.39 @@ -25,8 +31,9 @@ 1.40 genpkg_rules() 1.41 { 1.42 mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 + 1.46 + cp -a $install/usr/bin $fs/usr 1.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.48 } 1.49 1.50 # Pre and post install commands for Tazpkg. 1.51 @@ -34,8 +41,8 @@ 1.52 { 1.53 [ -s $1/etc/rcS.conf ] && 1.54 case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in 1.55 - *\ snd-pcm-oss\ *) ;; 1.56 - *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;; 1.57 + *\ snd-pcm-oss\ *) ;; 1.58 + *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;; 1.59 esac 1.60 [ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true 1.61 }