3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=6d5066ea1a6ced817376ca0f54765447
10 PKG_SOURCE_URL
:=@SF
/vrrpd
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,VRRPD
,vrrpd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 MAIN_OPT
="$(TARGET_CFLAGS)" \
32 install -d
-m0755
$(IDIR_VRRPD
)/etc
/default
33 install -m0644 .
/files
/vrrpd.default
$(IDIR_VRRPD
)/etc
/default
/vrrpd
34 install -d
-m0755
$(IDIR_VRRPD
)/etc
/init.d
35 install -m0755 .
/files
/vrrpd.init
$(IDIR_VRRPD
)/etc
/init.d
/vrrpd
36 install -d
-m0755
$(IDIR_VRRPD
)/usr
/sbin
37 install -m0755
$(PKG_BUILD_DIR
)/vrrpd
$(IDIR_VRRPD
)/usr
/sbin
/
38 $(RSTRIP
) $(IDIR_VRRPD
)
39 $(IPKG_BUILD
) $(IDIR_VRRPD
) $(PACKAGE_DIR
)