wok-current view freealut/receipt @ rev 24758
xfe: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 07:44:06 2022 +0100 (2022-03-18) |
parents | 5ea0ce1cecc0 |
children |
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*}/tags 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 }