wok-next view alsa-utils/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 29128929e4f9
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-utils"
4 VERSION="1.1.8"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line utilities for the ALSA project"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.alsa-project.org/main/index.php/Main_Page"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/alsa-utils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
14 TARBALL_SHA1="36859b70c6b09458f9f28ae63d4fc3bf754b86b8"
16 BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext-dev eudev-dev"
17 SPLIT="$PACKAGE-test alsa-info $PACKAGE"
19 COPY_test="speaker-test speaker-test/ *.wav"
20 COPY_alsa_info="alsa-info.sh"
22 CAT_test="multimedia|speaker test"
23 CAT_alsa_info="multimedia|gather ALSA subsystem information"
25 DEPENDS_test="alsa-lib"
26 DEPENDS_alsa_info="$PACKAGE bash dialog ncurses-extra pciutils wget"
27 DEPENDS_std="alsa-lib ncurses ncurses-libform ncurses-libmenu ncurses-libpanel"
29 CONFIG_FILES_std="/var/lib/alsa/asound.state"
31 compile_rules() {
32 ./configure \
33 --disable-alsaconf \
34 --disable-bat \
35 --disable-xmlto \
36 --with-curses=ncursesw \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install || return 1
41 # Remove empty dir
42 rmdir $install/usr/share/man/man7
44 install -Dm644 $stuff/alsamixer.desktop \
45 $install/usr/share/applications/alsamixer.desktop
47 # Declare asound.state
48 touch $install/var/lib/alsa/asound.state
50 # For conf we need /var/tmp
51 install -dm1777 $install/var/tmp
52 }