Makefile 744 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=xfrm
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_LICENSE:=GPL-2.0
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/xfrm/Default
  8. SECTION:=net
  9. CATEGORY:=Network
  10. MAINTAINER:=Andre Valentin <avalentin@marcant.net>
  11. endef
  12. define Package/xfrm
  13. $(call Package/xfrm/Default)
  14. TITLE:=XFRM IPsec Tunnel Interface config support
  15. DEPENDS:=+kmod-xfrm-interface
  16. endef
  17. define Package/xfrm/description
  18. XFRM IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
  19. endef
  20. define Build/Compile
  21. endef
  22. define Build/Configure
  23. endef
  24. define Package/xfrm/install
  25. $(INSTALL_DIR) $(1)/lib/netifd/proto
  26. $(INSTALL_BIN) ./files/xfrm.sh $(1)/lib/netifd/proto/xfrm.sh
  27. endef
  28. $(eval $(call BuildPackage,xfrm))