developer | 5968ad5 | 2022-06-27 19:47:13 +0800 | [diff] [blame] | 1 | DESCRIPTION = "OpenWrt system message/RPC bus" |
| 2 | HOMEPAGE = "http://git.openwrt.org/?p=project/libubox.git;a=summary" |
| 3 | LICENSE = "BSD" |
| 4 | LIC_FILES_CHKSUM = "file://ubusd.c;beginline=1;endline=12;md5=1b6a7aecd35bdd25de35da967668485d" |
| 5 | SECTION = "base" |
| 6 | DEPENDS = "json-c libubox" |
| 7 | |
| 8 | SRC_URI = "git://git.openwrt.org/project/ubus.git" |
| 9 | |
developer | 8215d7d | 2022-07-04 10:06:58 +0800 | [diff] [blame] | 10 | SRCREV = "2bebf93cd3343fe49f22a05ef935e460d2d44f67" |
developer | 5968ad5 | 2022-06-27 19:47:13 +0800 | [diff] [blame] | 11 | PV = "1.0.0+git${SRCPV}" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | inherit cmake pkgconfig |
| 16 | |
| 17 | EXTRA_OECMAKE = "-DBUILD_EXAMPLES=OFF -DBUILD_LUA=OFF -DBUILD_STATIC=ON" |
| 18 | |
| 19 | do_install_append () { |
| 20 | install -dm 0755 ${D}/sbin |
| 21 | ln -s /usr/sbin/ubusd ${D}/sbin/ubusd |
| 22 | } |
| 23 | |
| 24 | TOOLCHAIN = "gcc" |