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
:=@SF
/vrrpd
17 PKG_MD5SUM
:=6d5066ea1a6ced817376ca0f54765447
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=Virtual Router Redundancy Protocol daemon
28 URL
:=http
://www.sourceforge.net
/projects
/vrrpd
31 define Package
/vrrpd
/description
32 VRRPd is an implementation of Virtual Router Redundancy
33 Protocol
as specified in rfc2338. VRRPd is interoperable with
34 other RFC-based VRRP implementations
, including Cisco and
35 Juniper
, and is included
as a standard feature on ImageStream
39 define Package
/vrrpd
/conffiles
44 $(call Build
/Compile
/Default
, \
46 MAIN_OPT
="$(TARGET_CFLAGS)" \
51 define Package
/vrrpd
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/vrrpd
$(1)/usr
/sbin
/
54 $(INSTALL_DIR
) $(1)/etc
/default
55 $(INSTALL_DATA
) .
/files
/vrrpd.default
$(1)/etc
/default
/vrrpd
56 $(INSTALL_DIR
) $(1)/etc
/init.d
57 $(INSTALL_BIN
) .
/files
/vrrpd.init
$(1)/etc
/init.d
/vrrpd
60 $(eval
$(call BuildPackage
,vrrpd
))