2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://vgpd.freaknet.org
/files
/
17 PKG_MD5SUM
:=b8c25b5dfcb944f78bbc584be9c230c7
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=A daemon working like Cisco
(c
) HSRP
25 URL
:=http
://vgpd.freaknet.org
/
28 define Package
/vgp
/description
29 VGP
(Virtual Gateway Protocol
)is a very simple protocol able to
30 work in a way similar to Cisco
(c
) HSRP. It implements the idea
31 of Virtual Gateway to provide fault tollerance
(and load
32 balancing
) on your net. Each client on your net has
as its
33 default gateway set to the virtual gateway and not the real router.
39 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
40 DESTDIR
="$(PKG_INSTALL_DIR)" \
44 define Package
/vgp
/install
45 $(INSTALL_DIR
) $(1)/usr
/bin
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/vgpd
$(1)/usr
/bin
/
49 $(eval
$(call BuildPackage
,vgp
))