APP=yasm
VERSION=1.3.0
BUILD=1sml
HOMEPAGE="http://www.tortall.net/projects/yasm/"
DOWNLOAD="http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.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
"
