summaryrefslogtreecommitdiff
path: root/recipes/nasm
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nasm')
-rw-r--r--recipes/nasm/nasm-native_0.98.38.bb4
-rw-r--r--recipes/nasm/nasm_0.98.38.bb15
2 files changed, 19 insertions, 0 deletions
diff --git a/recipes/nasm/nasm-native_0.98.38.bb b/recipes/nasm/nasm-native_0.98.38.bb
new file mode 100644
index 0000000000..2b3672ca83
--- /dev/null
+++ b/recipes/nasm/nasm-native_0.98.38.bb
@@ -0,0 +1,4 @@
+SECTION = "unknown"
+require nasm_${PV}.bb
+S = "${WORKDIR}/nasm-${PV}"
+inherit native
diff --git a/recipes/nasm/nasm_0.98.38.bb b/recipes/nasm/nasm_0.98.38.bb
new file mode 100644
index 0000000000..86e7f2b935
--- /dev/null
+++ b/recipes/nasm/nasm_0.98.38.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "General-purpose x86 assembler"
+SECTION = "devel"
+LICENSE = "GPL"
+COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/nasm/nasm-${PV}.tar.bz2"
+
+inherit autotools
+
+do_install() {
+ install -d ${D}${bindir}
+ install -d ${D}${mandir}/man1
+
+ oe_runmake 'INSTALLROOT=${D}' install
+}