NAME="libogg"
DESC="Ogg file structure"
VERSION="1.3.5"
FILES=("https://downloads.xiph.org/releases/ogg/libogg-$VERSION.tar.xz")
HASHES=("3178c98341559657a15b185bf5d700a5")
DEPENDS=()

PACKAGE() {
  tar xf $NAME-$VERSION.tar.xz
  cd $NAME-$VERSION

  ./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libogg-$VERSION
  make && make DESTDIR="$ROOTDIR" install

  cd .. && rm -rf $NAME-$VERSION
}
