more tristate -> prompt fixes
[openwrt.git] / openwrt / package / vrrpd / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=vrrpd
4 PKG_VERSION:=1.0
5 PKG_RELEASE:=1
6
7 PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
8 PKG_SOURCE_URL:=@SF/vrrpd
9
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12 PKG_CAT:=zcat
13
14 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,VRRPD,VRRPD,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
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/
27 touch $@
28
29 $(IPKG_VRRPD):
30 mkdir -p $(IDIR_VRRPD)
31 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VRRPD)/
32 $(RSTRIP) $(IDIR_VRRPD)
33 $(IPKG_BUILD) $(IDIR_VRRPD) $(PACKAGE_DIR)
This page took 0.041053 seconds and 5 git commands to generate.