Patrick Williams | d849ec7 | 2016-08-17 14:59:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "This is a cross development C compiler, assembler and linker environment for the production of 8086 executables (Optionally MSDOS COM)" |
| 2 | HOMEPAGE = "http://www.debath.co.uk/dev86/" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
| 5 | SECTION = "console/tools" |
| 6 | PR="r0" |
| 7 | |
| 8 | SRC_URI="http://v3.sk/~lkundrak/dev86/archive/Dev86src-${PV}.tar.gz" |
| 9 | |
| 10 | SRC_URI[md5sum] = "567cf460d132f9d8775dd95f9208e49a" |
| 11 | SRC_URI[sha256sum] = "61817a378c8c8ba65f36c6792d457a305dc4eedae8cdc8b6233bf2bb28e5fe8d" |
| 12 | |
| 13 | S = "${WORKDIR}/dev86-${PV}" |
| 14 | |
| 15 | BBCLASSEXTEND = "native" |
| 16 | EXTRA_OEMAKE = "VERSION=${PV} PREFIX=${prefix} DIST=${D}" |
| 17 | |
| 18 | do_compile() { |
| 19 | |
| 20 | oe_runmake make.fil |
| 21 | oe_runmake -f make.fil bcc86 as86 ld86 |
| 22 | |
| 23 | } |
| 24 | |
| 25 | do_install() { |
| 26 | |
| 27 | if [ "${prefix}"=="" ] ; then |
| 28 | export prefix=/usr |
| 29 | fi |
| 30 | |
| 31 | oe_runmake install-bcc |
| 32 | ln -s ../lib/bcc/bcc-cpp ${D}${prefix}/bin/bcc-cpp |
| 33 | ln -s ../lib/bcc/bcc-cc1 ${D}${prefix}/bin/bcc-cc1 |
| 34 | |
| 35 | } |
| 36 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" |
| 37 | FILES_${PN} += "${libdir}/bcc" |
| 38 | INSANE_SKIP_${PN} = "already-stripped" |