# Maintainer: PktSurf <smlinux@pktsurf.in>
app=speexdsp
version=1.2.0
build=2sml
homepage="http://www.speex.org/"
desc="Patent-free open-source DSP library"
requires="musl"

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

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

build() {
  ./configure \
    --prefix="" \
    --docdir="/share/doc/$app-$version" \
    --disable-static

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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