summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/jsparser_0.3.bb
blob: c289d30ff20df139272587d1f39d9440a2137677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "MultiTech Command Line JSON Parser"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "jsoncpp libmts"
RDEPENDS_${PN} += "bash"

PR = "r0"
SRCREV="${PV}"

SRC_URI = "git://git.multitech.net/jsparser;branch=master \
	       file://jspp \
"

S = "${WORKDIR}/git"

do_install_append() {
    oe_runmake install DESTDIR=${D}
    install -d ${D}/usr/bin
    install -m 755 ${WORKDIR}/jspp ${D}/usr/bin/jspp
}