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
14 PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
16 PKG_SOURCE_URL:=@SF/vrrpd
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
27 TITLE:=Virtual Router Redundancy Protocol daemon
28 DESCRIPTION:=VRRPd is an implementation of Virtual Router Redundancy\\\
29 Protocol as specified in rfc2338. VRRPd is interoperable with\\\
30 other RFC-based VRRP implementations, including Cisco and\\\
31 Juniper, and is included as a standard feature on ImageStream\\\
33 URL:=http://www.sourceforge.net/projects/vrrpd
36 define Package/vrrpd/conffiles
41 $(call Build/Compile/Default, \
43 MAIN_OPT="$(TARGET_CFLAGS)" \
47 define Package/vrrpd/install
48 install -d -m0755 $(1)/etc/default
49 install -m0644 ./files/vrrpd.default $(1)/etc/default/vrrpd
50 install -d -m0755 $(1)/etc/init.d
51 install -m0755 ./files/vrrpd.init $(1)/etc/init.d/vrrpd
52 install -d -m0755 $(1)/usr/sbin
53 install -m0755 $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
56 $(eval $(call BuildPackage,vrrpd))