wok annotate openal/receipt @ rev 6536
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 06 00:40:17 2010 +0000 (2010-10-06) |
parents | 6ec17b55b59a |
children | 14075218486d |
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 { |
slaxemulator@5409 | 18 cd $SOURCE-$VERSION |
slaxemulator@5409 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr |
pascal@3904 | 20 make && |
pascal@3904 | 21 make DESTDIR=$src/_pkg 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 |