2010-02-23 16:23:56 +01:00
|
|
|
# Template file for 'dev86'
|
|
|
|
pkgname=dev86
|
2014-11-16 22:23:59 +01:00
|
|
|
version=0.16.21
|
2014-05-11 18:02:04 +02:00
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
nostrip=yes
|
2013-04-12 09:46:44 +02:00
|
|
|
makedepends="bin86"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="${makedepends}"
|
2010-02-23 16:23:56 +01:00
|
|
|
short_desc="8086 cross development compiler, assembler and linker"
|
2013-03-31 09:36:10 +02:00
|
|
|
license="GPL+, GPL-2+, LGPL-2+"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-05-11 18:02:04 +02:00
|
|
|
homepage="http://v3.sk/~lkundrak/dev86/"
|
|
|
|
distfiles="${homepage}/Dev86src-$version.tar.gz"
|
2014-11-16 22:23:59 +01:00
|
|
|
checksum=234b110e6df9b7f6843e2ee53473127c2211243a16748f229fc0127845f68d94
|
2014-08-23 17:45:39 +02:00
|
|
|
only_for_archs="i686 x86_64"
|
2010-02-23 16:23:56 +01:00
|
|
|
|
2013-04-12 09:46:44 +02:00
|
|
|
do_build() {
|
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
|
|
|
}
|
|
|
|
|
2013-04-12 09:46:44 +02:00
|
|
|
do_install() {
|
2014-02-18 16:32:13 +01:00
|
|
|
make DIST=${DESTDIR} MANDIR=/usr/share/man install install-man
|
2010-12-22 13:45:38 +01:00
|
|
|
|
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
|
|
|
|
}
|