# Copyright (C) 2015 Khem Raj # Released under the MIT license (see COPYING.MIT for the terms) SUMMARY = "Library and utility for the Unified Configuration Interface for OpenWrt" HOMEPAGE = "http://wiki.openwrt.org/doc/uci" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://uci.h;beginline=1;endline=13;md5=0ee862ed12171ee619c8c2eb7eff77f2" SECTION = "base" DEPENDS = "libubox lua5.1" SRCREV = "f84f49f00fb70364f58b4cce72f1796a7190d370" SRC_URI = "git://git.openwrt.org/project/uci.git;protocol=https;branch=master;name=uci \ " S = "${WORKDIR}/git" OR = "${S}/openwrt/package/system/uci/files" inherit cmake pkgconfig openwrt openwrt-base-files SRCREV_openwrt = "${OPENWRT_SRCREV}" OECMAKE_C_FLAGS += "-I${STAGING_INCDIR}/lua5.1" do_install:append() { install -Dm 0755 ${OR}/lib/config/uci.sh ${D}${base_libdir}/config/uci.sh mkdir -p ${D}/sbin mkdir -p ${D}/usr/sbin ln -s /usr/bin/uci ${D}/usr/sbin/uci ln -s /usr/bin/uci ${D}/sbin/uci } FILES:${PN} += "${base_libdir}"