wok annotate openal/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | a00bf44ed23d |
children | 37b2a1afa30e |
rev | line source |
---|---|
pascal@3904 | 1 # SliTaz package receipt. |
pascal@3904 | 2 |
pascal@3904 | 3 PACKAGE="openal" |
pascal@3904 | 4 SOURCE="openal-soft" |
pascal@18193 | 5 VERSION="1.16.0" |
pascal@3904 | 6 CATEGORY="multimedia" |
pascal@3904 | 7 SHORT_DESC="cross-platform 3D audio API." |
pascal@3904 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15004 | 9 LICENSE="LGPL2" |
slaxemulator@5409 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@3904 | 11 WEB_SITE="http://www.openal.org/" |
pascal@18193 | 12 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL" |
pascal@3904 | 13 BUILD_DEPENDS="cmake" |
jozee@4970 | 14 TAGS="multimedia audio sound 3D" |
pascal@3904 | 15 |
pascal@3904 | 16 # Rules to configure and make the package. |
pascal@3904 | 17 compile_rules() |
pascal@3904 | 18 { |
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@15004 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15004 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@3904 | 30 } |