Makefile 818 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-mesh-vpn-tunneldigger
  3. PKG_VERSION:=3
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include ../gluon.mk
  6. define Package/gluon-mesh-vpn-tunneldigger
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Support for connecting meshes via tunneltigger/L2TPv3 pseudowire
  10. DEPENDS:=+gluon-core +gluon-mesh-vpn-core +tunneldigger
  11. endef
  12. define Build/Prepare
  13. mkdir -p $(PKG_BUILD_DIR)
  14. endef
  15. define Build/Configure
  16. endef
  17. define Build/Compile
  18. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  19. endef
  20. define Package/gluon-mesh-vpn-tunneldigger/install
  21. $(CP) ./files/* $(1)/
  22. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  23. endef
  24. define Package/gluon-mesh-vpn-tunneldigger/postinst
  25. #!/bin/sh
  26. $(call GluonCheckSite,check_site.lua)
  27. endef
  28. $(eval $(call BuildPackage,gluon-mesh-vpn-tunneldigger))