[package] update coova-chili to 1.0.13 (#5542)
[openwrt/svn-archive/archive.git] / net / vrrpd / 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:=vrrpd
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/vrrpd
16 PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/vrrpd
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=Virtual Router Redundancy Protocol daemon
24 URL:=http://www.sourceforge.net/projects/vrrpd
25 endef
26
27 define Package/vrrpd/description
28 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
32 routers.
33 endef
34
35 define Package/vrrpd/conffiles
36 /etc/default/vrrpd
37 endef
38
39 define Build/Compile
40 $(call Build/Compile/Default, \
41 DBG_OPT="" \
42 MAIN_OPT="$(TARGET_CFLAGS)" \
43 vrrpd \
44 )
45 endef
46
47 define Package/vrrpd/install
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/vrrpd $(1)/usr/sbin/
50 $(INSTALL_DIR) $(1)/etc/default
51 $(INSTALL_DATA) ./files/vrrpd.default $(1)/etc/default/vrrpd
52 $(INSTALL_DIR) $(1)/etc/init.d
53 $(INSTALL_BIN) ./files/vrrpd.init $(1)/etc/init.d/vrrpd
54 endef
55
56 $(eval $(call BuildPackage,vrrpd))