wok view openal/receipt @ rev 23518
updated python-ofxparse (0.14 -> 0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 13:29:12 2020 +0100 (2020-04-06) |
parents | f59250a6e10d |
children | 8efe024dc99f |
line source
1 # SliTaz package receipt.
3 PACKAGE="openal"
4 VERSION="1.20.1"
5 CATEGORY="multimedia"
6 TAGS="multimedia audio sound 3D"
7 SHORT_DESC="cross-platform 3D audio API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2"
10 WEB_SITE="https://www.openal-soft.org/"
12 SOURCE="openal-soft"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="${WEB_SITE}$PACKAGE-releases/$TARBALL"
16 DEPENDS="gcc83-lib-base"
17 BUILD_DEPENDS="cmake gcc83"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CC=gcc-83
23 export CXX=g++-83
25 cmake -DCMAKE_INSTALL_PREFIX=/usr &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }
39 # Pre and post install commands for Tazpkg.
40 post_install()
41 {
42 [ -s $1/etc/rcS.conf ] &&
43 case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in
44 *\ snd-pcm-oss\ *) ;;
45 *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;;
46 esac
47 [ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true
48 }