void-packages/srcpkgs/nasm-doc/template
2020-07-18 11:57:54 +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.15.03
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=c0c39a305f08ccf0c5c6edba4294dd2851b3925b6d9642dd1efd62f72829822f
do_install() {
make -C doc DESTDIR="${DESTDIR}" docdir=/usr/share/doc/nasm install
vlicense LICENSE
}