APP=libsndfile
VERSION=1.0.28
BUILD=1sml
HOMEPAGE='http://www.mega-nerd.com/libsndfile/'
DOWNLOAD='http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz'
DESC="C library for reading and writing wav files"
REQUIRES="alsa-lib libogg libvorbis"

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

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

  ./configure \
    --prefix="" \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
4cc9f0e856763bec64104b9b1273943564bdf96443908817097a7de8032363ca91f9adba559ffb50f2570142bf0567cc8472bdf807c5966807734f3b91960855  libsndfile-1.0.28.tar.lz
"
