wok-current view freealut/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-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 }