wok-next view freealut/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 | d43bf7aae921 |
children | dbc201d673f5 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freealut"
4 COMMIT="2fa9ea27be7bb4124a878d44c14e6634f7beb1e2"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="multimedia"
7 SHORT_DESC="Free implementation of OpenAL's ALUT standard"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL"
10 #WEB_SITE="http://distro.ibiblio.org/rootlinux/rootlinux-ports/more/freealut/freealut-1.1.0/doc/alut.html"
11 WEB_SITE="https://github.com/vancegroup/freealut"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/vancegroup/$PACKAGE/archive/$COMMIT.tar.gz"
16 BUILD_DEPENDS="cmake openal-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX:STRING="/usr" \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 freealut)
32 copy @std
33 DEPENDS="openal glibc-base"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="freealut openal-dev"
38 ;;
39 esac
40 }