2014-02-22 07:27:51 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-legacy
|
2014-07-05 00:48:56 +00:00
|
|
|
PKG_VERSION:=2
|
2014-02-22 07:27:51 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
2014-07-05 00:48:56 +00:00
|
|
|
include $(GLUONDIR)/include/package.mk
|
2014-02-22 07:27:51 +00:00
|
|
|
|
2016-07-10 18:08:44 +00:00
|
|
|
|
2014-02-22 07:27:51 +00:00
|
|
|
define Package/gluon-legacy
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Legacy update scripts
|
2014-05-11 08:03:25 +00:00
|
|
|
DEPENDS:=+gluon-core
|
2014-02-22 07:27:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-legacy/description
|
|
|
|
Gluon community wifi mesh firmware framework: legacy update scripts
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2016-07-10 18:08:44 +00:00
|
|
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
2014-02-22 07:27:51 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-legacy/install
|
2016-07-10 18:08:44 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
2014-02-22 07:27:51 +00:00
|
|
|
endef
|
|
|
|
|
2014-07-05 00:48:56 +00:00
|
|
|
define Package/gluon-legacy/postinst
|
|
|
|
#!/bin/sh
|
|
|
|
$(call GluonCheckSite,check_site.lua)
|
|
|
|
endef
|
|
|
|
|
2014-02-22 07:27:51 +00:00
|
|
|
$(eval $(call BuildPackage,gluon-legacy))
|