M7350/oe-core/meta-msm/recipes/ubus/ubus.bb

31 lines
556 B
BlitzBasic
Raw Normal View History

2024-09-09 08:52:07 +00:00
DESCRIPTION = "compiled ubus!"
#just close license for now.
LICENSE = "CLOSED"
PR = "r1"
SRCREV="8f3c5a7b50eb4642108f104d33c043da6d0f14a4"
SRC_URI = "git://nbd.name/luci2/ubus.git;protocol=git \
file://unsupport_lua.patch \
file://ubusd"
S="${WORKDIR}/git"
FILES_${PN} += "/usr/lib"
DEPENDS = "libubox"
RDEPENDS += "libubox"
inherit update-rc.d
INITSCRIPT_NAME = "ubusd"
INITSCRIPT_PARAMS = "defaults 6"
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/ubusd ${D}${sysconfdir}/init.d
}
inherit cmake