wok-next view freealut/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freealut"
4 VERSION="1.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free implementation of OpenAL's ALUT standard"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL"
9 #WEB_SITE="http://distro.ibiblio.org/rootlinux/rootlinux-ports/more/freealut/freealut-1.1.0/doc/alut.html"
10 WEB_SITE="https://github.com/vancegroup/freealut"
12 TARBALL="${PACKAGE}_${VERSION//./_}.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$TARBALL"
15 BUILD_DEPENDS="cmake openal-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX:STRING="/usr" \
23 .. &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 freealut)
31 copy @std
32 DEPENDS="openal glibc-base"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="freealut openal-dev"
37 ;;
38 esac
39 }