wok-next annotate 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 |
rev | line source |
---|---|
pascal@3904 | 1 # SliTaz package receipt. |
pascal@3904 | 2 |
pascal@3904 | 3 PACKAGE="openal" |
pascal@3904 | 4 SOURCE="openal-soft" |
slaxemulator@5409 | 5 VERSION="1.12.854" |
pascal@3904 | 6 CATEGORY="multimedia" |
pascal@3904 | 7 SHORT_DESC="cross-platform 3D audio API." |
pascal@3904 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@5409 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@3904 | 10 WEB_SITE="http://www.openal.org/" |
slaxemulator@5409 | 11 WGET_URL="http://kcat.strangesoft.net/openal-releases/$TARBALL" |
pascal@3904 | 12 BUILD_DEPENDS="cmake" |
jozee@4970 | 13 TAGS="multimedia audio sound 3D" |
pascal@3904 | 14 |
pascal@3904 | 15 # Rules to configure and make the package. |
pascal@3904 | 16 compile_rules() |
pascal@3904 | 17 { |
gokhlayeh@8774 | 18 cd $src |
slaxemulator@5409 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr |
pascal@3904 | 20 make && |
gokhlayeh@8774 | 21 make install |
pascal@3904 | 22 } |
pascal@3904 | 23 |
pascal@3904 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3904 | 25 genpkg_rules() |
pascal@3904 | 26 { |
pascal@3904 | 27 mkdir -p $fs/usr/lib |
pascal@3904 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@3904 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@3904 | 30 } |
pascal@3904 | 31 |