void-packages/srcpkgs/bin86/template

21 lines
626 B
Bash

# Template file for 'bin86'
pkgname=bin86
version=0.16.21
revision=4
short_desc="A complete 8086 assembler and loader"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://v3.sk/~lkundrak/dev86/"
license="GPL-2"
distfiles="http://v3.sk/~lkundrak/dev86/bin86-${version}.tar.gz"
checksum=021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
do_build() {
make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr
}
do_install() {
vmkdir usr/bin
vmkdir usr/share/man/man1
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man/man1 install
}