wok-next view openal/receipt @ rev 8774

Fix: openal compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 21 19:43:04 2011 +0100 (2011-02-21)
parents 95e59e287f76
children 916063b1073a
line source
1 # SliTaz package receipt.
3 PACKAGE="openal"
4 SOURCE="openal-soft"
5 VERSION="1.12.854"
6 CATEGORY="multimedia"
7 SHORT_DESC="cross-platform 3D audio API."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.openal.org/"
11 WGET_URL="http://kcat.strangesoft.net/openal-releases/$TARBALL"
12 BUILD_DEPENDS="cmake"
13 TAGS="multimedia audio sound 3D"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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 $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }