30 lines
690 B
Makefile
30 lines
690 B
Makefile
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=gluon-mesh-vpn-tunneldigger
|
||
|
PKG_VERSION:=3
|
||
|
|
||
|
include ../gluon.mk
|
||
|
|
||
|
define Package/gluon-mesh-vpn-tunneldigger
|
||
|
SECTION:=gluon
|
||
|
CATEGORY:=Gluon
|
||
|
TITLE:=Support for connecting meshes via tunneltigger/L2TPv3 pseudowire
|
||
|
DEPENDS:=+gluon-core +gluon-mesh-vpn-core +tunneldigger
|
||
|
endef
|
||
|
|
||
|
define Build/Compile
|
||
|
$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
|
||
|
endef
|
||
|
|
||
|
define Package/gluon-mesh-vpn-tunneldigger/install
|
||
|
$(CP) ./files/* $(1)/
|
||
|
$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
|
||
|
endef
|
||
|
|
||
|
define Package/gluon-mesh-vpn-tunneldigger/postinst
|
||
|
#!/bin/sh
|
||
|
$(call GluonCheckSite,check_site.lua)
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,gluon-mesh-vpn-tunneldigger))
|