wok-next view alsa-utils/receipt @ rev 21115
Update gtk3
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 12 17:51:19 2019 +0200 (2019-01-12) |
parents | 8459b1de4897 |
children | 29128929e4f9 |
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"
14 TARBALL_SHA1="5c9d6bee351c06baa645d89153d492199a60e66b"
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 }