APP=speexdsp
VERSION=1.2.0
BUILD=1sml
HOMEPAGE="http://www.speex.org/"
DESC="patent-free open-source DSP library"
REQUIRES="musl"

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

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

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

  make
  make install DESTDIR=$PKG 

  cp COPYING ChangeLog $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
c2270fd9d2c7567f55c5bfa1ac6ea6d45a454f0bc7aaa79989b7bec2960a67eea475bdc03d7d37a54459506c73fbf1471abfe702862135e0ce056185e7e3a4d9  speexdsp-1.2.0.tar.lz
"
