luci-base: replace filebrowser icons with SVG variants
[project/luci.git] / modules / luci-base / Makefile
1 #
2 # Copyright (C) 2008-2015 The LuCI Team <luci@lists.subsignal.org>
3 #
4 # This is free software, licensed under the Apache License, Version 2.0 .
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=luci-base
10
11 LUCI_TYPE:=mod
12 LUCI_BASENAME:=base
13
14 LUCI_TITLE:=LuCI core libraries
15 LUCI_DEPENDS:=+lua +luci-lib-nixio +luci-lib-ip +rpcd +libubus-lua +luci-lib-jsonc +liblucihttp-lua +rpcd-mod-file +rpcd-mod-luci +cgi-io
16
17 PKG_LICENSE:=MIT
18
19 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 define Package/luci-base/conffiles
24 /etc/luci-uploads
25 /etc/config/luci
26 /etc/config/ucitrack
27 endef
28
29 include ../../luci.mk
30
31 define Host/Configure
32 endef
33
34 define Host/Compile
35 $(MAKE) -C src/ clean po2lmo jsmin
36 endef
37
38 define Host/Install
39 $(INSTALL_DIR) $(1)/bin
40 $(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo
41 $(INSTALL_BIN) src/jsmin $(1)/bin/jsmin
42 endef
43
44 $(eval $(call HostBuild))
45
46 # call BuildPackage - OpenWrt buildroot signature