APP=opusfile
VERSION=0.11
BUILD=1sml
HOMEPAGE='https://opus-codec.org/'
DOWNLOAD='https://downloads.xiph.org/releases/opus/opusfile-0.12.tar.gz'
DESC="dependency for the opus audio library"
REQUIRES="openssl libogg opus"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
94ebf4d4c19cb3602093d1c37ae2dffd60fb4a29c2b2a21d9bb964567fa71b7f31d027cb705a09875f134dd67b8356b9217ee06ecaf851bd313197be20013922  opusfile-0.11.tar.lz
"
