wok view freealut/receipt @ rev 25500

new default version for java8-jre
author Hans-G?nter Theisgen
date Fri Dec 30 10:14:12 2022 +0100 (22 months ago)
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 }