Merge pull request #21258 from blocktrron/add-cudy-bdinfo
[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:=3
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 @(DROPBEAR_DBCLIENT||PACKAGE_openssh-client)
22 PKGARCH:=all
23 endef
24
25 define Package/pppossh/description
26 This package adds protocol support for PPP over SSH. The protocol name is
27 'pppossh' as in netifd interface config option 'proto'.
28 endef
29
30 define Build/Compile
31 endef
32
33 define Package/pppossh/install
34 $(INSTALL_DIR) $(1)/lib/netifd/proto
35 $(INSTALL_BIN) ./files/pppossh.sh $(1)/lib/netifd/proto
36 endef
37
38 $(eval $(call BuildPackage,pppossh))