NAME="libyaml"
DESC="C library for parsing and emitting YAML"
VERSION="0.2.5"
FILES=("https://github.com/yaml/libyaml/releases/download/$VERSION/yaml-$VERSION.tar.gz")
HASHES=("bb15429d8fb787e7d3f1c83ae129a999")
DEPENDS=()

PACKAGE() {
  tar xf yaml-$VERSION.tar.gz
  cd yaml-$VERSION

  ./configure --prefix=/usr --disable-static
  make && make DESTDIR="$ROOTDIR" install

  cd .. && rm -r yaml-$VERSION
}
