29 lines
607 B
Makefile
29 lines
607 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-client-bridge
|
|
PKG_VERSION:=1
|
|
|
|
include ../gluon.mk
|
|
|
|
define Package/gluon-client-bridge
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Provides a bridge and a wireless interface for clients to connect to
|
|
DEPENDS:=+gluon-core +kmod-veth
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
|
endef
|
|
|
|
define Package/gluon-client-bridge/install
|
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
|
endef
|
|
|
|
define Package/gluon-client-bridge/postinst
|
|
#!/bin/sh
|
|
$(call GluonCheckSite,check_site.lua)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-client-bridge))
|