Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "General-purpose x86 assembler" |
| 2 | SECTION = "devel" |
| 3 | LICENSE = "BSD-2-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe" |
| 5 | |
| 6 | SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 \ |
| 7 | file://0001-asmlib-Drop-pure-function-attribute-from-seg_init.patch \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI[md5sum] = "0c581d482f39d5111879ca9601938f74" |
| 11 | SRC_URI[sha256sum] = "63ec86477ad3f0f6292325fd89e1d93aea2e2fd490070863f17d48f7cd387011" |
| 12 | |
| 13 | inherit autotools-brokensep |
| 14 | |
| 15 | do_configure_prepend () { |
| 16 | if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then |
| 17 | mv ${S}/aclocal.m4 ${S}/acinclude.m4 |
| 18 | fi |
| 19 | } |
| 20 | |
| 21 | do_install() { |
| 22 | install -d ${D}${bindir} |
| 23 | install -d ${D}${mandir}/man1 |
| 24 | |
| 25 | oe_runmake 'INSTALLROOT=${D}' install |
| 26 | } |
| 27 | |
| 28 | BBCLASSEXTEND = "native" |
| 29 | |
| 30 | DEPENDS = "groff-native" |