wok-6.x view openal/receipt @ rev 22901
updated gtk-theme-bluebird (1.2 -> 1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 23 15:34:31 2020 +0100 (2020-02-23) |
parents | 7d3d60e180e6 |
children | 45041bf06ff9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openal"
4 SOURCE="openal-soft"
5 VERSION="1.16.0"
6 CATEGORY="multimedia"
7 SHORT_DESC="cross-platform 3D audio API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.openal.org/"
12 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL"
13 BUILD_DEPENDS="cmake"
14 TAGS="multimedia audio sound 3D"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake -DCMAKE_INSTALL_PREFIX=/usr
20 make &&
21 make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 [ -s $1/etc/rcS.conf ] &&
36 case " $(. $1/etc/rcS.conf; echo $LOAD_MODULES) " in
37 *\ snd-pcm-oss\ *) ;;
38 *) sed -i 's|LOAD_MODULES="|&snd-pcm-oss |' $1/etc/rcS.conf ;;
39 esac
40 [ "$1" ] || modprobe snd-pcm-oss 2> /dev/null || true
41 }