app=yasm
version=1.3.0
build=1sml
homepage="http://www.tortall.net/projects/yasm/"
download="http://www.tortall.net/projects/yasm/releases/yasm-$version.tar.gz"
desc="Complete rewrite of the NASM assembler"
requires="musl"

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  rm -rv $pkg/lib

  cp GNU* $pkgdocs/

  mkfinalpkg
}

sha512sums="
b4a4dc7207dc60387fda5b35c712179d039e492c8970e2aab2d699645169bda60d0f3da4c27cf54baaad7349cf5caf0ad58e3c82f4e74abea00fea5fd8ac1759  yasm-1.3.0.tar.lz
"
