immortalwrt/package/lean/luci-lib-fs/Makefile
CN_SZTL 28c808e4af
Package Lean: Cleanup Makefile
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-30 19:06:57 +08:00

36 lines
681 B
Makefile

#
# Copyright (C) 2009 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-lib-fs
PKG_VERSION:=1.0
PKG_RELEASE:=2
include $(INCLUDE_DIR)/package.mk
define Package/luci-lib-fs
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Lua
TITLE:=luci-lib-fs
URL:=https://github.com/lbthomsen/openwrt-luci
DEPENDS:=+luci +luci-lib-nixio
PKGARCH:=all
endef
define Build/Compile
true
endef
define Package/luci-lib-fs/install
$(INSTALL_DIR) $(1)/usr/lib/lua/luci
$(CP) ./files/fs.lua $(1)/usr/lib/lua/luci/fs.lua
endef
$(eval $(call BuildPackage,luci-lib-fs))