void-packages/srcpkgs/nasm/template

29 lines
756 B
Text
Raw Normal View History

# Template file for 'nasm'
pkgname=nasm
2013-01-06 08:51:52 +00:00
version=2.10.07
revision=1
hostmakedepends="groff perl"
2013-01-06 08:51:52 +00:00
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-01-06 08:51:52 +00:00
homepage="http://www.nasm.us"
license="BSD"
distfiles="http://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.bz2"
checksum=c056e2abc83816892e448f9e9e95a3d21e9e096f44341b9d4853f62a443bba82
2013-01-06 08:51:52 +00:00
do_configure() {
./configure ${configure_args}
2013-01-06 08:51:52 +00:00
}
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
}