void-packages/srcpkgs/nasm-doc/template
2020-05-26 15:55:28 +02:00

21 lines
812 B
Bash

# Template file for 'nasm-doc'
# Separate to avoid dependency cycles; keep in sync with nasm.
pkgname=nasm-doc
version=2.14.02
revision=1
wrksrc="${pkgname%-doc}-${version}"
build_style=gnu-configure
make_build_args="doc"
hostmakedepends="groff perl perl-Font-TTF perl-IO-String perl-Sort-Versions
ghostscript source-sans-pro liberation-fonts-ttf"
short_desc="80x86 assembler designed for portability and modularity - documentation"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-2-Clause"
homepage="https://www.nasm.us"
distfiles="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
checksum=e24ade3e928f7253aa8c14aa44726d1edf3f98643f87c9d72ec1df44b26be8f5
do_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
}