wok-current annotate apulse/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (2022-09-04) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
psychomaniak@18852 | 1 # SliTaz package receipt. |
psychomaniak@18852 | 2 |
psychomaniak@18852 | 3 PACKAGE="apulse" |
Hans-G?nter@25126 | 4 VERSION="0.1.13" |
psychomaniak@18852 | 5 CATEGORY="multimedia" |
Hans-G?nter@25126 | 6 SHORT_DESC="PulseAudio emulator for Alsa." |
psychomaniak@18852 | 7 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@18852 | 8 LICENSE="MIT" |
psychomaniak@18852 | 9 WEB_SITE="https://github.com/i-rinat/apulse" |
Hans-G?nter@20719 | 10 |
Hans-G?nter@25126 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25126 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
psychomaniak@18852 | 13 SUGGESTED="skype" |
Hans-G?nter@25126 | 14 DEPENDS="alsa-lib glib pcre" |
Hans-G?nter@25126 | 15 BUILD_DEPENDS="alsa-lib-dev cmake glib-dev" |
psychomaniak@18852 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
psychomaniak@18852 | 23 # Rules to configure and make the package. |
psychomaniak@18852 | 24 compile_rules() |
psychomaniak@18852 | 25 { |
Hans-G?nter@25126 | 26 mkdir _build && |
Hans-G?nter@25126 | 27 cd _build && |
Hans-G?nter@25126 | 28 cmake .. \ |
Hans-G?nter@25126 | 29 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@25126 | 30 -D CMAKE_BUILD_TYPE=Release && |
Hans-G?nter@20719 | 31 make && |
Hans-G?nter@20719 | 32 make install |
psychomaniak@18852 | 33 } |
psychomaniak@18852 | 34 |
psychomaniak@18852 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@18852 | 36 genpkg_rules() |
psychomaniak@18852 | 37 { |
Hans-G?nter@25126 | 38 cook_copy_folders bin |
Hans-G?nter@25126 | 39 cook_copy_folders lib |
psychomaniak@18852 | 40 } |