NAME="yasm"
DESC="Complete rewrite of the NASM assembler"
VERSION="1.3.0"
FILES=("https://www.tortall.net/projects/yasm/releases/yasm-$VERSION.tar.gz")
HASHES=("fc9e586751ff789b34b1f21d572d96af")
DEPENDS=()

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

  sed -i 's#) ytasm.*#)#' Makefile.in
  ./configure --prefix=/usr
  make && make DESTDIR="$ROOTDIR" install

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