fsx: added Linux version as 0.0 because there is no version defined upstream
authorMarcin Juszkiewicz <hrw@openembedded.org>
Sat, 14 Oct 2006 19:14:17 +0000 (19:14 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Sat, 14 Oct 2006 19:14:17 +0000 (19:14 +0000)
packages/fsx-linux/.mtn2git_empty [new file with mode: 0644]
packages/fsx-linux/fsx-linux_0.0.bb [new file with mode: 0644]

diff --git a/packages/fsx-linux/.mtn2git_empty b/packages/fsx-linux/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/fsx-linux/fsx-linux_0.0.bb b/packages/fsx-linux/fsx-linux_0.0.bb
new file mode 100644 (file)
index 0000000..294af8f
--- /dev/null
@@ -0,0 +1,15 @@
+DESCRIPTION = "Asynchronous I/O stress util"
+
+SRC_URI = "http://www.codemonkey.org.uk/projects/fsx/fsx-linux.c"
+
+S = "${WORKDIR}"
+
+do_compile() {
+
+       cd ${S} && ${CC} fsx-linux.c -o fsx-linux -I${STAGING_INCDIR} -L${STAGING_LIBDIR}
+}
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 0755 fsx-linux ${D}${bindir}
+}