2015-08-17 22:53:40 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-client-bridge
|
|
|
|
PKG_VERSION:=1
|
|
|
|
|
2016-10-08 22:18:45 +00:00
|
|
|
include ../gluon.mk
|
2015-08-17 22:53:40 +00:00
|
|
|
|
|
|
|
define Package/gluon-client-bridge
|
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
|
|
|
TITLE:=Provides a bridge and a wireless interface for clients to connect to
|
2017-02-10 08:44:23 +00:00
|
|
|
DEPENDS:=+gluon-core +kmod-veth
|
2015-08-17 22:53:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2016-07-10 18:08:44 +00:00
|
|
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
2015-08-17 22:53:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-client-bridge/install
|
2016-07-10 18:08:44 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
2015-08-17 22:53:40 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/gluon-client-bridge/postinst
|
|
|
|
#!/bin/sh
|
|
|
|
$(call GluonCheckSite,check_site.lua)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,gluon-client-bridge))
|