aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/juci/juci_git.bb
blob: 6d3d798bec932904464fa8d1a25ea429fa7aa4c2 (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
28
29
30
# Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "JUCI JavaScript Webgui for embedded devices running OpenWRT"
HOMEPAGE = "https://github.com/mkschreder/juci"
LICENSE = "GPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32"
SECTION = "apps"

SRCREV = "b173dba22fbd9891bc5e3a55f8b40ba562f38e31"
SRC_URI = "git://github.com/mkschreder/juci"
SRC_URI += "file://0001-juci-pin-grunt-to-0.4.1-for-grunt-angular-gettext.patch"

S = "${WORKDIR}/git"

inherit npm-install

NPM_INSTALL_append = " uglify-js"
DEPENDS += "jucid lua5.1 grunt-cli-native"

do_compile() {
	oe_runmake node_modules
}

do_install_append() {
	oe_runmake
	oe_runmake DESTDIR='${D}' install
}

FILES_${PN} += "/www ${datadir}/lua"