wok annotate openal/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents df36976870fe
children a3886193b324
rev   line source
pascal@3904 1 # SliTaz package receipt.
pascal@3904 2
pascal@3904 3 PACKAGE="openal"
pascal@3904 4 SOURCE="openal-soft"
slaxemulator@12316 5 VERSION="1.14"
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/"
slaxemulator@5409 12 WGET_URL="http://kcat.strangesoft.net/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 {
gokhlayeh@8774 19 cd $src
slaxemulator@5409 20 cmake -DCMAKE_INSTALL_PREFIX=/usr
pascal@3904 21 make &&
gokhlayeh@8774 22 make install
pascal@3904 23 }
pascal@3904 24
pascal@3904 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3904 26 genpkg_rules()
pascal@3904 27 {
pascal@3904 28 mkdir -p $fs/usr/lib
pascal@15004 29 cp -a $install/usr/bin $fs/usr
pascal@15004 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@3904 31 }
pascal@3904 32