wok annotate openal/receipt @ rev 9954

elink: fix receipt path and build
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 14:56:30 2011 +0200 (2011-05-18)
parents 14075218486d
children df36976870fe
rev   line source
pascal@3904 1 # SliTaz package receipt.
pascal@3904 2
pascal@3904 3 PACKAGE="openal"
pascal@3904 4 SOURCE="openal-soft"
slaxemulator@9367 5 VERSION="1.13"
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