Corrected missing dependency
[openwrt.git] / openwrt / package / mrd6 / Makefile
1 # $Id: Makefile 1146 2005-06-05 13:32:28Z florian $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=mrd6
6 PKG_VERSION:=0.9.4-beta2
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=fe2e617954eccacd9b5c3d6e85f41c89
9
10 PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/
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,MRD6,$(PKG_NAME),$(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)/src \
25 OPTIMIZE=yes \
26 SPACE_OPTIMIZE=yes \
27 FULL_STATIC=yes \
28 CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
29 CXX=$(TARGET_CROSS)g++ \
30 CC=$(TARGET_CC) \
31 STAGING_DIR=$(STAGING_DIR) \
32 PREFIX=/usr \
33 DESTDIR=$(PKG_INSTALL_DIR) \
34 install
35 install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d
36 install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc
37 install -m0755 files/$(PKG_NAME).init $(PKG_INSTALL_DIR)/etc/init.d/S60$(PKG_NAME)
38 touch $@
39
40 $(IPKG_MRD6):
41 mkdir -p $(IDIR_MRD6)/usr/sbin
42 cp -fpR $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/
43 $(RSTRIP) $(IDIR_MRD6)/
44 $(IPKG_BUILD) $(IDIR_MRD6) $(PACKAGE_DIR)
This page took 0.04154 seconds and 5 git commands to generate.