void-packages/srcpkgs/nasm/template
2019-02-16 22:26:57 -02:00

21 lines
737 B
Bash

# Template file for 'nasm'
pkgname=nasm
version=2.14.02
revision=1
build_style=gnu-configure
make_build_args="all doc"
hostmakedepends="groff perl perl-Font-TTF perl-IO-String perl-Sort-Versions
ghostscript source-sans-pro liberation-fonts-ttf"
short_desc="An 80x86 assembler designed for portability and modularity"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=e24ade3e928f7253aa8c14aa44726d1edf3f98643f87c9d72ec1df44b26be8f5
post_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
#mv ${DESTDIR}/usr/doc ${DESTDIR}/usr/share/doc
}