wok-next view alsa-utils/receipt @ rev 20938
Update MATE 1.20
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 26 05:08:11 2018 +0300 (2018-08-26) |
parents | 6d173c4b9591 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-utils"
4 VERSION="1.1.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line utilities for the ALSA project"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.alsa-project.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/alsa-utils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
15 BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext eudev-dev"
16 SPLIT="alsa-utils-test alsa-info alsa-utils"
18 compile_rules() {
19 ./configure \
20 --disable-alsaconf \
21 --disable-bat \
22 --disable-xmlto \
23 --with-curses=ncursesw \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install || return 1
28 # Remove empty dir
29 rmdir $install/usr/share/man/man7
31 install -Dm644 $stuff/alsamixer.desktop \
32 $install/usr/share/applications/alsamixer.desktop
34 # Declare asound.state
35 touch $install/var/lib/alsa/asound.state
37 # For conf we need /var/tmp
38 install -dm1777 $install/var/tmp
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 alsa-utils-test)
44 copy speaker-test speaker-test/ *.wav
45 CAT="multimedia|speaker test"
46 DEPENDS="alsa-lib"
47 ;;
48 alsa-info)
49 copy alsa-info.sh
50 CAT="multimedia|gather ALSA subsystem information"
51 DEPENDS="alsa-utils bash dialog ncurses-extra pciutils wget"
52 ;;
53 alsa-utils)
54 copy @std @rm
55 DEPENDS="alsa-lib ncurses ncurses-libform ncurses-libmenu \
56 ncurses-libpanel"
57 CONFIG_FILES="/var/lib/alsa/asound.state"
58 ;;
59 esac
60 }