poco: moved to github
[packages.git] / net / peervpn / Makefile
1 #
2 # Copyright (C) 2007-2011 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:=peervpn
11 PKG_VERSION:=0-036
12 PKG_RELEASE:=1
13
14 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL :=http://www.peervpn.net/files
17 PKG_MD5SUM:=38fe86fed7ec341887220626cd102ec1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/peervpn
22   SECTION:=net
23   CATEGORY:=Network
24   SUBMENU:=VPN
25   TITLE:=PeerVPN the open source peer-to-peer VPN
26   URL:=http://www.peervpn.net/
27   DEPENDS:=+libopenssl +ip
28 endef
29
30 define Package/peervpn/description
31   PeerVPN is software that builds virtual ethernet networks between multiple
32   computers. Adding a new node to an existing network doesn't require the
33   existing nodes to alter their configuration, because its IP address is
34   automatically distributed across the whole virtual network.
35 endef
36
37 define Package/peervpn/install
38         $(INSTALL_DIR) $(1)/sbin
39         $(INSTALL_BIN) $(PKG_BUILD_DIR)/peervpn $(1)/sbin/
40         $(INSTALL_DIR) $(1)/etc/peervpn
41         $(INSTALL_CONF) $(PKG_BUILD_DIR)/peervpn.conf $(1)/etc/peervpn
42 endef
43
44 $(eval $(call BuildPackage,peervpn))