void-packages/srcpkgs/nasm/template

24 lines
686 B
Bash

# Template file for 'nasm'
pkgname=nasm
version=2.11.06
revision=1
build_style=gnu-configure
hostmakedepends="groff perl"
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.nasm.us"
license="BSD"
distfiles="http://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.bz2"
checksum=87b6d97d6981ca468f9dafda44cf1bb1ba122cec329d4d389af5db04fa0c3e6c
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
}