2010-02-23 15:23:56 +00:00
|
|
|
# Template file for 'dev86'
|
|
|
|
pkgname=dev86
|
2013-03-31 07:36:10 +00:00
|
|
|
version=0.16.19
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=1
|
2014-01-01 15:10:11 +00:00
|
|
|
nostrip=yes
|
2013-04-12 07:46:44 +00:00
|
|
|
makedepends="bin86"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="${makedepends}"
|
2010-02-23 15:23:56 +00:00
|
|
|
short_desc="8086 cross development compiler, assembler and linker"
|
2013-03-31 07:36:10 +00:00
|
|
|
homepage="http://www.debath.co.uk/dev86/"
|
|
|
|
license="GPL+, GPL-2+, LGPL-2+"
|
2010-02-23 15:23:56 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 07:46:44 +00:00
|
|
|
distfiles="http://www.debath.co.uk/dev86/Dev86src-$version.tar.gz"
|
2013-03-31 07:36:10 +00:00
|
|
|
checksum=33398b87ca85e2b69e4062cf59f2f7354af46da5edcba036c6f97bae17b8d00e
|
2010-02-23 15:23:56 +00:00
|
|
|
long_desc="
|
|
|
|
This package provides a cross development C compiler, assembler and linker
|
|
|
|
environment for the production of 8086 executables (Optionally MSDOS COM)."
|
|
|
|
|
2013-04-12 07:46:44 +00:00
|
|
|
do_build() {
|
2010-12-22 12:45:38 +00:00
|
|
|
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}
|
2010-02-23 15:23:56 +00:00
|
|
|
}
|
|
|
|
|
2013-04-12 07:46:44 +00:00
|
|
|
do_install() {
|
2010-12-22 12:45:38 +00:00
|
|
|
make DIST=${DESTDIR} MANDIR=/usr/share/man \
|
|
|
|
install install-man
|
|
|
|
|
2010-02-23 15:23:56 +00:00
|
|
|
# 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
|
|
|
|
}
|