summaryrefslogtreecommitdiff
path: root/packages/robostix-utils/robostix-cmdline.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/robostix-utils/robostix-cmdline.bb')
-rw-r--r--packages/robostix-utils/robostix-cmdline.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/robostix-utils/robostix-cmdline.bb b/packages/robostix-utils/robostix-cmdline.bb
new file mode 100644
index 0000000000..0eecfc2e14
--- /dev/null
+++ b/packages/robostix-utils/robostix-cmdline.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "robostix programs"
+SECTION = "base"
+PRIORITY = "required"
+PR = "r1"
+
+DEPENDS = robostix-module
+
+SRC_URI = " \
+ file://robostix.h \
+ file://robostix.c \
+ "
+
+CMD_NAME=robostix
+
+S = "${WORKDIR}"
+
+do_compile () {
+ ${CC} -o ${CMD_NAME} *.c
+}
+
+do_install () {
+ install -d ${D}${bindir}/
+ install -m 0755 ${WORKDIR}/${CMD_NAME} ${D}${bindir}/
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "${bindir}/*"
+