luka b4ae48bb91 [packages] peervpn: update to 0-036
While at it move peervpn to VPN menu.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@38057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 10:07:53 +00:00

45 lines
1.2 KiB
Makefile

#
# Copyright (C) 2007-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=peervpn
PKG_VERSION:=0-036
PKG_RELEASE:=1
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL :=http://www.peervpn.net/files
PKG_MD5SUM:=38fe86fed7ec341887220626cd102ec1
include $(INCLUDE_DIR)/package.mk
define Package/peervpn
SECTION:=net
CATEGORY:=Network
SUBMENU:=VPN
TITLE:=PeerVPN the open source peer-to-peer VPN
URL:=http://www.peervpn.net/
DEPENDS:=+libopenssl +ip
endef
define Package/peervpn/description
PeerVPN is software that builds virtual ethernet networks between multiple
computers. Adding a new node to an existing network doesn't require the
existing nodes to alter their configuration, because its IP address is
automatically distributed across the whole virtual network.
endef
define Package/peervpn/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/peervpn $(1)/sbin/
$(INSTALL_DIR) $(1)/etc/peervpn
$(INSTALL_CONF) $(PKG_BUILD_DIR)/peervpn.conf $(1)/etc/peervpn
endef
$(eval $(call BuildPackage,peervpn))