wok view apulse/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | d44c96b3af7c |
children | 80eb8a52ec19 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apulse"
4 VERSION="0.1.12"
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="v$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 SUGGESTED="skype"
15 DEPENDS="pcre alsa-lib glib"
16 BUILD_DEPENDS="cmake wget alsa-lib-dev glib-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mv $src/* ../
28 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }