void-packages/srcpkgs/nasm/template
2013-01-06 09:51:52 +01:00

28 lines
759 B
Text

# Template file for 'nasm'
pkgname=nasm
version=2.10.07
revision=1
makedepends="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_SHARED_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
}