wok view freealut/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents 9820f9ae38d5
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="freealut"
4 VERSION="1.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="freealut is a free implementation of OpenAL's ALUT standard"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="https://github.com/vancegroup/freealut"
10 TARBALL="${PACKAGE}_${VERSION//./_}.tar.gz"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 DEPENDS="openal glibc-base"
14 BUILD_DEPENDS="wget cacerts cmake openal-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;/freealut_/!d;s|.*/freealut_\(.*\).tar.*|\1|;s|_|.|g;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir build; cd build
26 cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/usr" &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }