APP=spandsp
VERSION=0.0.6
BUILD=1sml
HOMEPAGE="https://www.soft-switch.org/"
DOWNLOAD="https://src.fedoraproject.org/lookaside/pkgs/spandsp/spandsp-0.0.6.tar.gz/897d839516a6d4edb20397d4757a7ca3/spandsp-0.0.6.tar.gz"
DESC="A DSP library for telephony"
REQUIRES="zlib xz libjpeg-turbo zstd libtiff "

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

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

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

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
52cff8974c24aff28768a4d6a410fb673c16df42b5b2433d9bebbb9a69646fb26f8d49ae77e721c7ca7af44f5f696030c69537b0256834f683d3bc04e8317ac4  spandsp-0.0.6.tar.lz
"
