Makefile 744 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=xfrm
  3. PKG_RELEASE:=4
  4. PKG_LICENSE:=GPL-2.0
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/xfrm/Default
  7. SECTION:=net
  8. CATEGORY:=Network
  9. MAINTAINER:=Andre Valentin <avalentin@marcant.net>
  10. PKGARCH:=all
  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))