aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/robostix-utils/robostix-cmdline.bb
blob: 0eecfc2e147c941a9afadda1a5fd120e9dafe374 (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
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}/*"