unfs3: add support for compiling with the external librpc
[openwrt/svn-archive/archive.git] / net / vgp / Makefile
1 #
2 # Copyright (C) 2006 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:=vgp
11 PKG_VERSION:=0.2.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://vgpd.freaknet.org/files/
16 PKG_MD5SUM:=b8c25b5dfcb944f78bbc584be9c230c7
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/vgp
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=A daemon working like Cisco(c) HSRP
26 URL:=http://vgpd.freaknet.org/
27 endef
28
29 define Package/vgp/description
30 VGP (Virtual Gateway Protocol)is a very simple protocol able to
31 work in a way similar to Cisco(c) HSRP. It implements the idea
32 of Virtual Gateway to provide fault tollerance (and load
33 balancing) on your net. Each client on your net has as its
34 default gateway set to the virtual gateway and not the real router.
35 endef
36
37 # uses GNU configure
38
39 define Package/vgp/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vgpd $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,vgp))