DESCRIPTION = "This is a cross development C compiler, assembler and linker environment for the production of 8086 executables (Optionally MSDOS COM)" HOMEPAGE = "http://www.debath.co.uk/dev86/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" SECTION = "console/tools" PR="r0" SRC_URI="https://github.com/lkundrak/dev86/archive/v${PV}.zip" SRC_URI[md5sum] = "1308759f36f9907e7dae92c46f35c51e" SRC_URI[sha256sum] = "efd33d456ff87d6d0308608f6a34052b22ea8629913d0597d98c73815ed0f9f0" S = "${WORKDIR}/dev86-${PV}" BBCLASSEXTEND = "native" EXTRA_OEMAKE = "VERSION=${PV} PREFIX=${prefix} DIST=${D}" do_compile() { oe_runmake make.fil oe_runmake -f make.fil bcc86 as86 ld86 } do_install() { if [ "${prefix}"=="" ] ; then export prefix=/usr fi oe_runmake install-bcc ln -s ../lib/bcc/bcc-cpp ${D}${prefix}/bin/bcc-cpp ln -s ../lib/bcc/bcc-cc1 ${D}${prefix}/bin/bcc-cc1 } COMPATIBLE_HOST = "(i.86|x86_64).*-linux" FILES_${PN} += "${libdir}/bcc"