description="DSP library derived from Speex"
url="http://www.speex.org"

packager="tnut <tnut@nutyx.org>"
contributors="Rems"

name=speexdsp
version=1.2rc3
release=2

source=(https://downloads.us.xiph.org/releases/speex/$name-$version.tar.gz
        speexdsp-fixbuilds-774c87d.patch)

build() {
  cd $name-$version
patch -Np1 -i ../speexdsp-fixbuilds-774c87d.patch
autoreconf -vi
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --disable-static
            
  make
  make DESTDIR=$PKG install
}
