1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 20:54:03 +02:00
gluon-packages/libs/lua-platform-info/Makefile
2014-07-27 11:33:29 +02:00

38 lines
821 B
Makefile

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
PKG_NAME:=lua-platform-info
PKG_VERSION:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/lua-platform-info
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Lua hardware platform information library
DEPENDS:=+lua @TARGET_ar71xx_generic
endef
define Package/lua-platform-info/description
Lua library to obtain some generic information about the runtime platform
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/lua-platform-info/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_DATA) ./files/$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET))/platform_info.lua $(1)/usr/lib/lua/
endef
$(eval $(call BuildPackage,lua-platform-info))