void-packages/srcpkgs/nasm/template

24 lines
689 B
Bash

# Template file for 'nasm'
pkgname=nasm
version=2.12.02
revision=1
build_style=gnu-configure
hostmakedepends="groff perl"
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.nasm.us"
license="BSD"
distfiles="http://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.bz2"
checksum=00b0891c678c065446ca59bcee64719d0096d54d6886e6e472aeee2e170ae324
post_build() {
make ${makejobs} -C doc info
}
do_install() {
make INSTALLROOT=${DESTDIR} install install_rdf
vmkdir usr/share/info
install -m644 doc/info/* ${DESTDIR}/usr/share/info
touch ${DESTDIR}/usr/share/info/dir
vlicense LICENSE
}