2 # Copyright (C) 2010-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/vpzone
16 PKG_MD5SUM:=9b8a142a217f69ece0163b2026dc8585
21 include $(INCLUDE_DIR)/package.mk
27 TITLE:=A flexible multipurpose layer 3 VPN daemon
28 URL:=http://vpzone.sourceforge.net/
29 DEPENDS:=+libcares +libevent +libgnutls +kmod-ipv6 +kmod-tun
32 define Package/vpzone/conffiles
33 /etc/vpzone/vpzone.conf
36 define 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/
47 $(eval $(call BuildPackage,vpzone))