wok-current view openal/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
parents | 916063b1073a |
children | a00bf44ed23d |
line source
1 # SliTaz package receipt.
3 PACKAGE="openal"
4 SOURCE="openal-soft"
5 VERSION="1.14"
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 }