wok-next view alure/receipt @ rev 21020

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