app=alsa-utils
version=1.2.3
build=1sml
homepage="http://alsa-project.org"
download=""
requires="netbsd-curses alsa-lib"
desc="Userland utilities for ALSA"

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
"
