31 lines
927 B
Bash
31 lines
927 B
Bash
# Template file for 'dev86'
|
|
pkgname=dev86
|
|
version=0.16.21
|
|
revision=4
|
|
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
|
|
makedepends="bin86"
|
|
depends="${makedepends}"
|
|
short_desc="8086 cross development compiler, assembler and linker"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-1.0-or-later, GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="http://v3.sk/~lkundrak/dev86/"
|
|
distfiles="${homepage}/Dev86src-$version.tar.gz"
|
|
checksum=234b110e6df9b7f6843e2ee53473127c2211243a16748f229fc0127845f68d94
|
|
nostrip=yes
|
|
nopie=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
|
|
}
|