wok-6.x view apulse/receipt @ rev 25126

updated apulse (0.1.12 -> 0.1.13)
author Hans-G?nter Theisgen
date Tue Jun 28 16:35:11 2022 +0100 (2022-06-28)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="apulse"
4 VERSION="0.1.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="PulseAudio emulator for Alsa."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/i-rinat/apulse"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 SUGGESTED="skype"
14 DEPENDS="alsa-lib glib pcre"
15 BUILD_DEPENDS="alsa-lib-dev cmake glib-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir _build &&
27 cd _build &&
28 cmake .. \
29 -D CMAKE_INSTALL_PREFIX=/usr \
30 -D CMAKE_BUILD_TYPE=Release &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_folders lib
40 }