2010-02-23 16:23:56 +01:00
|
|
|
# Template file for 'dev86'
|
|
|
|
pkgname=dev86
|
2010-12-22 13:45:38 +01:00
|
|
|
version=0.16.18
|
|
|
|
patch_args="-Np1"
|
2010-02-23 16:23:56 +01:00
|
|
|
distfiles="http://www.debath.co.uk/dev86/Dev86src-$version.tar.gz"
|
2011-11-14 18:12:47 +01:00
|
|
|
revision=1
|
2010-02-23 16:23:56 +01:00
|
|
|
short_desc="8086 cross development compiler, assembler and linker"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-12-22 13:45:38 +01:00
|
|
|
checksum=049852a83898d3ee0ba97b88e526897ec6eaf0a051f4af1e9e073b1151178ff1
|
2010-02-23 16:23:56 +01:00
|
|
|
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
|
2010-12-22 13:45:38 +01:00
|
|
|
Add_dependency full bin86
|
2010-02-23 16:23:56 +01:00
|
|
|
|
2010-12-22 13:45:38 +01:00
|
|
|
do_build()
|
2010-02-23 16:23:56 +01:00
|
|
|
{
|
2010-12-22 13:45:38 +01: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 16:23:56 +01:00
|
|
|
}
|
|
|
|
|
2010-12-22 13:45:38 +01:00
|
|
|
do_install()
|
2010-02-23 16:23:56 +01:00
|
|
|
{
|
2010-12-22 13:45:38 +01:00
|
|
|
make DIST=${DESTDIR} MANDIR=/usr/share/man \
|
|
|
|
install install-man
|
|
|
|
|
2010-02-23 16:23:56 +01: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
|
|
|
|
}
|