void-packages/srcpkgs/dev86/template

36 lines
995 B
Plaintext
Raw Normal View History

# Template file for 'dev86'
pkgname=dev86
version=0.16.19
distfiles="http://www.debath.co.uk/dev86/Dev86src-$version.tar.gz"
revision=1
fulldepends="bin86"
short_desc="8086 cross development compiler, assembler and linker"
homepage="http://www.debath.co.uk/dev86/"
license="GPL+, GPL-2+, LGPL-2+"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e
long_desc="
This package provides a cross development C compiler, assembler and linker
environment for the production of 8086 executables (Optionally MSDOS COM)."
nostrip=yes
do_build()
{
for f in libc/bcc libc/misc libc/msdos libc/string libc/syscall \
libc/bios; do
sed -i -e "s|\$(CCFLAGS) ||g" ${wrksrc}/${f}/Makefile
done
make DIST=${DESTDIR}
}
do_install()
{
make DIST=${DESTDIR} MANDIR=/usr/share/man \
install install-man
# Remove stuff supplied by bin86
rm -f ${DESTDIR}/usr/bin/{as,ld,nm,objdump,size}86
rm -f ${DESTDIR}/usr/share/man/man1/{as,ld}86.1
}