source: packages/net/vpzone/Makefile @ 22343

Last change on this file since 22343 was 22343, checked in by swalker, 6 years ago

[packages] vpzone: add missing kmod-tun dependency

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2010 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:=vpzone
11PKG_VERSION:=0.1.2
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=@SF/vpzone
16PKG_MD5SUM:=9b8a142a217f69ece0163b2026dc8585
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/vpzone
24  CATEGORY:=Network
25  SECTION:=net
26  SUBMENU:=VPN
27  TITLE:=A flexible multipurpose layer 3 VPN daemon
28  URL:=http://vpzone.sourceforge.net/
29  DEPENDS:=+libcares +libevent +libgnutls +kmod-ipv6 +kmod-tun
30endef
31
32define Package/vpzone/conffiles
33/etc/vpzone/vpzone.conf
34endef
35
36define Package/vpzone/install
37        $(INSTALL_DIR) $(1)/usr/bin
38        $(CP) $(PKG_INSTALL_DIR)/usr/bin/vpzone $(1)/usr/bin/
39        $(INSTALL_DIR) $(1)/usr/lib/vpzone
40        $(CP) $(PKG_INSTALL_DIR)/usr/lib/vpzone/*.so $(1)/usr/lib/vpzone/
41        $(INSTALL_DIR) $(1)/etc/init.d
42        $(INSTALL_BIN) ./files/vpzone.init $(1)/etc/init.d/vpzone
43        $(INSTALL_DIR) $(1)/etc/vpzone
44        $(INSTALL_CONF) ./files/vpzone.conf $(1)/etc/vpzone/
45endef
46
47$(eval $(call BuildPackage,vpzone))
Note: See TracBrowser for help on using the repository browser.