app=libyaml
version=0.2.5
build=1sml
homepage="http://pyyaml.org/wiki/LibYAML"
download="http://pyyaml.org/download/libyaml/yaml-$version.tar.gz"
desc="YAML 1.1 library"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf yaml-$version

  tar xf $srcdir/yaml-$version.tar.?z*
  cd yaml-$version
  fixbuilddirpermissions

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

  make
  make install DESTDIR=$pkg 

  mkfinalpkg
}

sha512sums="
dadd7d8e0d88b5ebab005e5d521d56d541580198aa497370966b98c904586e642a1cd4f3881094eb57624f218d50db77417bbfd0ffdce50340f011e35e8c4c02  yaml-0.2.5.tar.gz
"
