aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/luci/luci_git.bb
blob: 6c462a4eb5e3c21fd5e05a03408e6500f8714573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "OpenWrt LuCI web user interface"
HOMEPAGE = "https://github.com/openwrt/luci"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9"
SECTION = "base"
DEPENDS = "json-c libubox libnl lua5.1 iwinfo openssl"
RDEPENDS_${PN} = "lua5.1"

SRCREV = "d89b022b97b4516bef708212135780b818b9d4a2"

SRC_URI = "git://github.com/openwrt/luci.git;branch=for-15.05"
SRC_URI += "file://cmake.patch"

inherit cmake openwrt pkgconfig

prefix=""
includedir="/usr/include"

OECMAKE_C_FLAGS += "-I${STAGING_INCDIR}/libnl3"

FILES_${PN} += "/www /usr/lib"

S = "${WORKDIR}/git/"