Makefile 759 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=xfrm
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=2
  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. PKGARCH:=all
  12. endef
  13. define Package/xfrm
  14. $(call Package/xfrm/Default)
  15. TITLE:=XFRM IPsec Tunnel Interface config support
  16. DEPENDS:=+kmod-xfrm-interface
  17. endef
  18. define Package/xfrm/description
  19. XFRM IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
  20. endef
  21. define Build/Compile
  22. endef
  23. define Build/Configure
  24. endef
  25. define Package/xfrm/install
  26. $(INSTALL_DIR) $(1)/lib/netifd/proto
  27. $(INSTALL_BIN) ./files/xfrm.sh $(1)/lib/netifd/proto/xfrm.sh
  28. endef
  29. $(eval $(call BuildPackage,xfrm))