blob: fe239c26abd114484cd52aa71c0f2e1d7ae0424c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2006-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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=vpnc-scripts
11PKG_VERSION:=20151220
12PKG_RELEASE:=2
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/vpnc-scripts
17 SECTION:=net
18 CATEGORY:=Network
19 TITLE:=VPN configuration script for vpnc and OpenConnect
20 MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
21 SUBMENU:=VPN
22 PKGARCH:=all
23endef
24
25define Package/vpnc-scripts/description
26 This package contains the vpnc-script which is used by vpnc
27 and OpenConnect to configure the tunnel interface.
28endef
29
30define Build/Compile
31endef
32
33define Package/vpnc-scripts/install
34 $(INSTALL_DIR) $(1)/lib/netifd
35 $(INSTALL_BIN) ./files/vpnc-script $(1)/lib/netifd/
36endef
37
38$(eval $(call BuildPackage,vpnc-scripts))