wok-next view freealut/receipt @ rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents 3aaf9d1029f3
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freealut"
4 COMMIT="2fa9ea27be7bb4124a878d44c14e6634f7beb1e2"
5 VERSION="${COMMIT:0:7}"
6 CATEGORY="multimedia"
7 SHORT_DESC="freealut is a 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="wget cacerts cmake openal-dev"
17 SPLIT="freealut-dev"
19 compile_rules() {
20 mkdir build; cd build
21 cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" &&
22 make && make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 freealut)
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 DEPENDS="openal glibc-base"
31 ;;
32 *-dev)
33 cp -a $install/* $fs
34 rm -r $fs/usr/lib/*.so*
35 DEPENDS="freealut openal-dev"
36 ;;
37 esac
38 }