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

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents d1ec7aca1013
children d5aab818505e
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/svn/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 }