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

emacs: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 14:46:21 2018 +0200 (2018-12-22)
parents d5aab818505e
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-utils"
4 VERSION="1.1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line utilities for the ALSA project"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://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"
15 BUILD_DEPENDS="alsa-lib-dev ncurses-dev gettext-dev eudev-dev"
16 SPLIT="$PACKAGE-test alsa-info $PACKAGE"
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 }