# Maintainer: PktSurf <smlinux@pktsurf.in>
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 "

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

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

build() {
  ./configure \
    --prefix="" \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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