Files
openwrt_yocto/meta-openwrt/recipes-core/rpcd/rpcd_git.bb
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

40 lines
1.2 KiB
BlitzBasic

# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "OpenWrt UBUS RPC server"
HOMEPAGE = "http://git.openwrt.org/?p=project/rpcd.git;a=summary"
LICENSE = "0BSD"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=18;md5=da5faf55ed0618f0dde1c88e76a0fc74"
SECTION = "base"
DEPENDS = "json-c libubox ubus uci ucode iwinfo virtual/crypt"
SRC_URI = "\
git://git.openwrt.org/project/rpcd.git;protocol=https;branch=master;name=rpcd; \
"
SRCREV_rpcd = "82904bd4f92e5928d047db6396cc14ca2b07d89f"
S = "${WORKDIR}/git"
OR = "${S}/openwrt/package/system/rpcd/files"
inherit cmake pkgconfig openwrt-services openwrt openwrt-base-files
SRCREV_openwrt = "${OPENWRT_SRCREV}"
do_install:append() {
install -d ${D}${includedir}/rpcd
install -m 0644 ${S}/include/rpcd/* ${D}${includedir}/rpcd/
install -Dm 0755 ${OR}/rpcd.config ${D}${sysconfdir}/config/rpcd
install -Dm 0755 ${OR}/rpcd.init ${D}${sysconfdir}/init.d/rpcd
mkdir -p ${D}${datadir}/rpcd/acl.d/
install -Dm 0644 ${S}/unauthenticated.json ${D}${datadir}/rpcd/acl.d/
mkdir -p ${D}/sbin
ln -s /usr/sbin/rpcd ${D}/sbin/rpcd
}
FILES:${PN} += "${libdir}/*"
RDEPENDS:${PN} += "ucode iwinfo"