core/bin86/Pkgfile

18 lines
530 B
Plaintext

# Description: 8086 assembler and loader which can generate 32-bit code for the 386+ processors
# URL: http://www.debath.co.uk/
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=bin86
version=0.16.19
release=1
source=(http://rdebath.nfshost.com/dev86/$name-$version.tar.gz \
$name-x86_64.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/$name-x86_64.patch
make -j1 CFLAGS="$CFLAGS -D_POSIX_SOURCE" PREFIX=/usr
mkdir -p $PKG/usr/{bin,man/man1}
make PREFIX=$PKG/usr install
}