1 include $(TOPDIR
)/rules.mk
7 PKG_MD5SUM
:=6d5066ea1a6ced817376ca0f54765447
8 PKG_SOURCE_URL
:=@SF
/vrrpd
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
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 mkdir
-p
$(PKG_INSTALL_DIR
)/usr
/sbin
25 $(MAKE
) CC
=$(TARGET_CC
) -C
$(PKG_BUILD_DIR
)
26 install -m0755
$(PKG_BUILD_DIR
)/vrrpd
$(PKG_INSTALL_DIR
)/usr
/sbin
/
30 mkdir
-p
$(IDIR_VRRPD
)
31 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_VRRPD
)/
32 $(RSTRIP
) $(IDIR_VRRPD
)
33 $(IPKG_BUILD
) $(IDIR_VRRPD
) $(PACKAGE_DIR
)