projects
/
oweals
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1970 from tano-systems/luci-app-ddns-improve-russian-translation
[oweals/luci.git]
/
modules
/
luci-base
/
Makefile
diff --git
a/modules/luci-base/Makefile
b/modules/luci-base/Makefile
index 5d557b64832519c113447b8be7571968b36caadd..5c38d99c589621dbaa00aad78afcd6c814d54afc 100644
(file)
--- a/
modules/luci-base/Makefile
+++ b/
modules/luci-base/Makefile
@@
-12,16
+12,24
@@
LUCI_TYPE:=mod
LUCI_BASENAME:=base
LUCI_TITLE:=LuCI core libraries
LUCI_BASENAME:=base
LUCI_TITLE:=LuCI core libraries
-LUCI_DEPENDS:=+lua
+LUCI_DEPENDS:=+lua
+luci-lib-nixio +luci-lib-ip +rpcd +libubus-lua +luci-lib-jsonc +liblucihttp-lua
-PKG_SOURCE:=LuaSrcDiet-0.12.1.tar.bz2
-PKG_SOURCE_URL:=https://luasrcdiet.googlecode.com/files
-PKG_MD5SUM:=8a0812701e29b6715e4d76f2f118264a
-HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/LuaSrcDiet-0.12.1
+PKG_SOURCE:=v1.0.0.tar.gz
+PKG_SOURCE_URL:=https://github.com/jirutka/luasrcdiet/archive/
+PKG_HASH:=48162e63e77d009f5848f18a5cabffbdfc867d0e5e73c6d407f6af5d6880151b
+PKG_LICENSE:=MIT
+
+HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/luasrcdiet-1.0.0
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/host-build.mk
+define Package/luci-base/conffiles
+/etc/luci-uploads
+/etc/config/luci
+/etc/config/ucitrack
+endef
+
include ../../luci.mk
define Host/Configure
include ../../luci.mk
define Host/Configure
@@
-29,13
+37,13
@@
endef
define Host/Compile
$(MAKE) -C src/ clean po2lmo
define Host/Compile
$(MAKE) -C src/ clean po2lmo
- $(MAKE) -C $(HOST_BUILD_DIR) bin/
LuaSrcDiet.lua
+ $(MAKE) -C $(HOST_BUILD_DIR) bin/
luasrcdiet
endef
define Host/Install
endef
define Host/Install
- $(INSTALL_DIR) $(
STAGING_DIR_HOST
)/bin
- $(INSTALL_BIN) src/po2lmo $(
STAGING_DIR_HOST
)/bin/po2lmo
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/
LuaSrcDiet.lua $(STAGING_DIR_HOST)/bin/LuaSrcD
iet
+ $(INSTALL_DIR) $(
1
)/bin
+ $(INSTALL_BIN) src/po2lmo $(
1
)/bin/po2lmo
+ $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/
luasrcdiet $(1)/bin/luasrcd
iet
endef
$(eval $(call HostBuild))
endef
$(eval $(call HostBuild))