Makefile 564 B

1234567891011121314151617181920212223242526272829303132
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-luci-privatewifi
  3. PKG_VERSION:=0.1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-luci-privatewifi
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. DEPENDS:=+gluon-luci-admin
  11. TITLE:=UI for activating a private WLAN
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. endef
  20. define Package/gluon-luci-privatewifi/install
  21. $(CP) ./files/* $(1)/
  22. endef
  23. $(eval $(call BuildPackage,gluon-luci-privatewifi))