Makefile 895 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=pppossh
  9. PKG_RELEASE:=2
  10. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  11. PKG_LICENSE:=GPLv2
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/pppossh
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=PPPoSSH (Point-to-Point Protocol over SSH)
  17. DEPENDS:=+ppp +resolveip @(PACKAGE_dropbear||PACKAGE_openssh-client)
  18. PKGARCH:=all
  19. endef
  20. define Package/pppossh/description
  21. This package adds protocol support for PPP over SSH. The protocol name is
  22. 'pppossh' as in netifd interface config option 'proto'.
  23. endef
  24. define Build/Compile
  25. endef
  26. define Package/pppossh/install
  27. $(INSTALL_DIR) $(1)/lib/netifd/proto
  28. $(INSTALL_BIN) ./files/pppossh.sh $(1)/lib/netifd/proto
  29. endef
  30. $(eval $(call BuildPackage,pppossh))