void-packages/srcpkgs/bin86/template

20 lines
597 B
Bash

# Template file for 'bin86'
pkgname=bin86
version=0.16.21
revision=4
short_desc="A complete 8086 assembler and loader"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://v3.sk/~lkundrak/dev86/"
license="GPL-2"
distfiles="http://v3.sk/~lkundrak/dev86/bin86-${version}.tar.gz"
checksum=021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738
archs="i686* x86_64*"
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
}