APP=alsa-utils
VERSION=1.2.3
BUILD=1sml
HOMEPAGE='http://alsa-project.org'
DOWNLOAD=''
REQUIRES="netbsd-curses alsa-lib"
DESC="Utilities for ALSA such as alsactl, amixer, alsamixer, aplay and arecord"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z**
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --bindir=/bin \
    --sbindir=/bin \
    --mandir="/share/man" \
    --disable-nls \
    --disable-xmlto 

  make
  make install DESTDIR=$PKG
 
  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
5aeba2e5b7279c62d4df85b61a26b3f41e5465bac5a0b94c7bbe1299f7aa38e8cf2a1f749f618289a63b61f76609fe54169fcbe70792b45adc8957811b672012  alsa-utils-1.2.3.tar.bz2
"
