wok-next annotate alure/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents
children d5aab818505e
rev   line source
al@20799 1 # SliTaz package receipt v2.
al@20799 2
al@20799 3 PACKAGE="alure"
al@20799 4 VERSION="1.2"
al@20799 5 CATEGORY="sound"
al@20799 6 SHORT_DESC="Utility library to help manage common tasks with OpenAL applications"
al@20799 7 MAINTAINER="al.bobylev@gmail.com"
al@20799 8 LICENSE="MIT"
al@20799 9 WEB_SITE="http://kcat.strangesoft.net/alure.html"
al@20799 10
al@20799 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20799 12 WGET_URL="http://kcat.strangesoft.net/alure-releases/$TARBALL"
al@20799 13
al@20799 14 BUILD_DEPENDS="cmake openal-dev libsndfile-dev libvorbis-dev mpg123-dev \
al@20799 15 fluidsynth-dev"
al@20799 16 SPLIT="alure-dev"
al@20799 17
al@20799 18 compile_rules() {
al@20799 19 mkdir build
al@20799 20 cd build
al@20799 21 cmake \
al@20799 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@20799 23 .. &&
al@20799 24 make &&
al@20799 25 make install
al@20799 26 }
al@20799 27
al@20799 28 genpkg_rules() {
al@20799 29 case $PACKAGE in
al@20799 30 alure)
al@20799 31 copy @std
al@20799 32 DEPENDS="openal"
al@20799 33 SUGGESTED="libsndfile libvorbis mpg123 fluidsynth"
al@20799 34 ;;
al@20799 35 *-dev)
al@20799 36 copy @dev
al@20799 37 DEPENDS="alure openal-dev"
al@20799 38 ;;
al@20799 39 esac
al@20799 40 }