summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/nasm/nasm_2.07.bb
blob: fc2d5310c061e308935f2e14030fbee8a4fb2b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "General-purpose x86 assembler"
SECTION = "devel"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d89d124974e487e5d64da6f1cd8acfbb"
COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'

PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/nasm/nasm-${PV}.tar.bz2 "

SRC_URI[md5sum] = "d8934231e81874c29374ddef1fbdb1ed"
SRC_URI[sha256sum] = "ac70ee451c73d742c9ff830502e5f8b1f648b2abffa8fd00944243283ba8e87c"

inherit autotools

do_configure_prepend () {
	if [ -f aclocal.m4 ] && [ ! -f acinclude.m4 ]; then
		mv aclocal.m4 acinclude.m4
	fi
}

do_install() {
	install -d ${D}${bindir}
	install -d ${D}${mandir}/man1

	oe_runmake 'INSTALLROOT=${D}' install
}

BBCLASSEXTEND = "native"