31 lines
556 B
BlitzBasic
31 lines
556 B
BlitzBasic
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
|