#!/bin/sh

MAKEDEPS="make xmlto"
DEPS="alsa-lib fftw libsamplerate"

DESC="Advanced Linux Sound Architecture - Utilities"

PKG_VER=1.2.6
SOURCE=https://www.alsa-project.org/files/pub/utils/alsa-utils-$PKG_VER.tar.bz2

build () {
    ./configure --disable-alsaconf \
            --disable-bat   \
            --disable-xmlto \
            --with-curses=ncursesw &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}