mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
luci-app-lxc: add package for luci lxc app
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
This commit is contained in:
committed by
Luka Perkov
parent
f0cf42ca7e
commit
e81ae1e7eb
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# Copyright (C) 2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-lxc
|
||||
PKG_RELEASE:=20141012
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/luci-app-lxc
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=LXC management Web UI
|
||||
DEPENDS:=+luci-mod-admin-full +lxc +liblxc +rpcd-mod-lxc
|
||||
MAINTAINER:=Petar Koretic <petar.koretic@sartura.hr>
|
||||
endef
|
||||
|
||||
define Package/luci-app-lxc/description
|
||||
This package will install LXC management Web UI.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-lxc/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
|
||||
$(INSTALL_BIN) \
|
||||
./files/controller/lxc.lua \
|
||||
$(1)/usr/lib/lua/luci/controller/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/view/
|
||||
$(INSTALL_DATA) \
|
||||
./files/view/lxc.htm \
|
||||
$(1)/usr/lib/lua/luci/view/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
|
||||
$(INSTALL_BIN) \
|
||||
./files/model/cbi/lxc.lua \
|
||||
$(1)/usr/lib/lua/luci/model/cbi/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config/
|
||||
$(INSTALL_DATA) \
|
||||
./files/lxc.config \
|
||||
$(1)/etc/config/lxc
|
||||
|
||||
$(INSTALL_DIR) $(1)/www
|
||||
$(CP) -R \
|
||||
./files/www/* \
|
||||
$(1)/www
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-lxc))
|
||||
Reference in New Issue
Block a user