void-packages/srcpkgs/dev86/template

32 lines
884 B
Text
Raw Normal View History

# Template file for 'dev86'
pkgname=dev86
2014-11-16 21:23:59 +00:00
version=0.16.21
2014-05-11 16:02:04 +00:00
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>"
2014-05-11 16:02:04 +00:00
homepage="http://v3.sk/~lkundrak/dev86/"
2014-12-01 22:40:28 +00:00
update_pkgname=Dev86src
2014-05-11 16:02:04 +00:00
distfiles="${homepage}/Dev86src-$version.tar.gz"
2014-11-16 21:23:59 +00:00
checksum=234b110e6df9b7f6843e2ee53473127c2211243a16748f229fc0127845f68d94
2014-08-23 15:45:39 +00:00
only_for_archs="i686 x86_64"
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() {
2014-02-18 15:32:13 +00:00
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
}