void-packages/srcpkgs/nasm/template

21 lines
734 B
Bash

# Template file for 'nasm'
pkgname=nasm
version=2.14
revision=1
build_style=gnu-configure
make_build_args="all doc"
hostmakedepends="groff perl perl-Font-TTF perl-IO-String perl-Sort-Versions
ghostscript source-sans-pro liberation-fonts-ttf"
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=97c615dbf02ef80e4e2b6c385f7e28368d51efc214daa98e600ca4572500eec0
post_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
#mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share/doc
}