void-packages/srcpkgs/nasm/template

35 lines
808 B
Plaintext

# Template file for 'nasm'
pkgname=nasm
version=2.10.07
revision=1
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=c056e2abc83816892e448f9e9e95a3d21e9e096f44341b9d4853f62a443bba82
do_configure() {
./configure ${configure_args}
}
do_build() {
make ${makejobs}
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
vinstall LICENSE 644 usr/share/licenses/nasm
}
nasm_package() {
pkg_install() {
vmove usr
}
}