developer | bc262d5 | 2022-06-27 19:47:13 +0800 | [diff] [blame^] | 1 | # Copyright (C) 2015 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | DESCRIPTION = "OpenWrt system message/RPC bus" |
| 5 | HOMEPAGE = "http://git.openwrt.org/?p=project/libubox.git;a=summary" |
| 6 | LICENSE = "BSD" |
| 7 | LIC_FILES_CHKSUM = "file://ubusd.c;beginline=1;endline=12;md5=1b6a7aecd35bdd25de35da967668485d" |
| 8 | SECTION = "base" |
| 9 | DEPENDS = "json-c libubox" |
| 10 | |
| 11 | SRC_URI = "git://git.openwrt.org/project/ubus.git" |
| 12 | |
| 13 | SRCREV = "4fc532c8a55ba8217ad67d7fd47c5eb9a8aba044" |
| 14 | PV = "1.0.0+git${SRCPV}" |
| 15 | |
| 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | inherit cmake pkgconfig |
| 19 | |
| 20 | EXTRA_OECMAKE = "-DBUILD_EXAMPLES=OFF -DBUILD_LUA=OFF -DBUILD_STATIC=ON" |
| 21 | |
| 22 | do_install_append () { |
| 23 | install -dm 0755 ${D}/sbin |
| 24 | ln -s /usr/sbin/ubusd ${D}/sbin/ubusd |
| 25 | } |
| 26 | |
| 27 | TOOLCHAIN = "gcc" |