APP=libvorbis
VERSION=1.3.6
BUILD=1sml
HOMEPAGE='https://xiph.org/vorbis/'
DOWNLOAD='https://ftp.osuosl.org/pub/xiph/releases/vorbis/libvorbis-1.3.6.tar.xz'
DESC="Ogg Vorbis library"
REQUIRES="libogg"

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="
880b43e4d2ac7773cc3ac83cf5e36889fc674a7741f52d94561ab9b03c3c101e3bd9b3ab3903fba5804f8b7d499465cc3c434ec05d4f1993d10b1447bbba6465  libvorbis-1.3.6.tar.lz
"
