wok view apulse/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 80eb8a52ec19
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir _build &&
28 cd _build &&
29 cmake .. \
30 -D CMAKE_INSTALL_PREFIX=/usr \
31 -D CMAKE_BUILD_TYPE=Release &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders lib
41 }