do not compile a normal version of wireless-tools just for the shared library
[openwrt.git] / openwrt / package / vrrpd / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=vrrpd
6 PKG_VERSION:=1.0
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=6d5066ea1a6ced817376ca0f54765447
9
10 PKG_SOURCE_URL:=@SF/vrrpd
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
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 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC=$(TARGET_CC) \
26 DBG_OPT="" \
27 MAIN_OPT="$(TARGET_CFLAGS)" \
28 vrrpd
29 touch $@
30
31 $(IPKG_VRRPD):
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)
This page took 0.0399 seconds and 5 git commands to generate.