30 lines
831 B
Plaintext
30 lines
831 B
Plaintext
# Template file for 'dev86'
|
|
pkgname=dev86
|
|
version=0.16.20
|
|
revision=1
|
|
nostrip=yes
|
|
makedepends="bin86"
|
|
depends="${makedepends}"
|
|
short_desc="8086 cross development compiler, assembler and linker"
|
|
license="GPL+, GPL-2+, LGPL-2+"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://v3.sk/~lkundrak/dev86/"
|
|
distfiles="${homepage}/Dev86src-$version.tar.gz"
|
|
checksum=61817a378c8c8ba65f36c6792d457a305dc4eedae8cdc8b6233bf2bb28e5fe8d
|
|
|
|
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
|
|
}
|