void-packages/srcpkgs/nasm/template

35 lines
815 B
Plaintext
Raw Normal View History

# Template file for 'nasm'
pkgname=nasm
2013-01-06 09:51:52 +01:00
version=2.10.07
revision=1
hostmakedepends="groff perl"
2013-01-06 09:51:52 +01:00
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-01-06 09:51:52 +01: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 09:51:52 +01:00
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
}
nasm_package() {
pkg_install() {
vmove usr
}
}