# Maintainer: PktSurf <smlinux@pktsurf.in>
app=alsa-utils
version=1.2.3
build=2sml
homepage="http://alsa-project.org"
download=""
requires="netbsd-curses alsa-lib"
desc="Userland utilities for ALSA"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z**
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    --sbindir=/bin \
    --with-udev-rules-dir=/lib/udev/rules.d

  make
  make install DESTDIR=$pkg
 
  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
4eea6130a029f7aa323914224c8faa574a9b55ff531876b48b3f9c4016a73ed390c15c17a63e48484cb25119a0f958b746ed4e077bd078bf3c5ee9a2094cddab  alsa-utils-1.2.3.tar.lz
"
