summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/jsparser_0.4.bb
blob: cd419c6151210384aa25b52b68b3525d84db7a39 (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 jsoncpp"

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
}