void-packages/srcpkgs/nasm/template
2014-06-01 06:14:29 +02:00

24 lines
715 B
Text

# Template file for 'nasm'
pkgname=nasm
version=2.11.05
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=4a417bcf5cde5d203e228feea3f428a6ff4d700d558e4d79d50a30a695bdfae9
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
vinstall LICENSE 644 usr/share/licenses/nasm
}