wok-next view alsa-utils/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 4c0c885152f4 |
children | d1ec7aca1013 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-utils"
4 VERSION="1.1.5"
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 && make install || return 1
27 # Remove empty dir
28 rmdir $install/usr/share/man/man7
30 install -Dm644 $stuff/alsamixer.desktop \
31 $install/usr/share/applications/alsamixer.desktop
33 # Declare asound.state
34 touch $install/var/lib/alsa/asound.state
36 # For conf we need /var/tmp
37 install -dm1777 $install/var/tmp
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 alsa-utils-test)
43 copy speaker-test speaker-test/ *.wav
44 CAT="multimedia|speaker test"
45 DEPENDS="alsa-lib"
46 ;;
47 alsa-info)
48 copy alsa-info.sh
49 CAT="multimedia|gather ALSA subsystem information"
50 DEPENDS="alsa-utils bash dialog ncurses-extra pciutils wget"
51 ;;
52 alsa-utils)
53 copy @std @rm
54 DEPENDS="alsa-lib ncurses ncurses-libform ncurses-libmenu \
55 ncurses-libpanel"
56 CONFIG_FILES="/var/lib/alsa/asound.state"
57 ;;
58 esac
59 }