Merge pull request #4948 from ldir-EDB0/remwireguard
[feed/packages.git] / net / pppossh / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pppossh
11 PKG_RELEASE:=2
12 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
13 PKG_LICENSE:=GPLv2
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/pppossh
18 SECTION:=net
19 CATEGORY:=Network
20 TITLE:=PPPoSSH (Point-to-Point Protocol over SSH)
21 DEPENDS:=+ppp +resolveip @(PACKAGE_dropbear||PACKAGE_openssh-client)
22 endef
23
24 define Package/pppossh/description
25 This package adds protocol support for PPP over SSH. The protocol name is
26 'pppossh' as in netifd interface config option 'proto'.
27 endef
28
29 define Build/Compile
30 endef
31
32 define Package/pppossh/install
33 $(INSTALL_DIR) $(1)/lib/netifd/proto
34 $(INSTALL_BIN) ./files/pppossh.sh $(1)/lib/netifd/proto
35 endef
36
37 $(eval $(call BuildPackage,pppossh))