fix small typo
[openwrt.git] / package / mrd6 / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=mrd6
6 PKG_VERSION:=0.9.5
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda
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 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,MRD6,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR)/src \
26 OPTIMIZE=yes \
27 SPACE_OPTIMIZE=yes \
28 FULL_STATIC=yes \
29 CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
30 CXX=$(TARGET_CROSS)g++ \
31 CC=$(TARGET_CC) \
32 STAGING_DIR=$(STAGING_DIR) \
33 DESTDIR=$(PKG_INSTALL_DIR) \
34 PREFIX=/usr/ \
35 install
36 install -d -m0755 $(PKG_INSTALL_DIR)/etc/init.d
37 install -m0644 files/$(PKG_NAME).conf $(PKG_INSTALL_DIR)/etc
38 install -m0755 files/$(PKG_NAME).init $(PKG_INSTALL_DIR)/etc/init.d/S60$(PKG_NAME)
39 touch $@
40
41 $(IPKG_MRD6):
42 mkdir -p $(IDIR_MRD6)/usr/sbin
43 $(CP) $(PKG_INSTALL_DIR)/ $(IDIR_MRD6)/
44 $(RSTRIP) $(IDIR_MRD6)/
45 $(IPKG_BUILD) $(IDIR_MRD6) $(PACKAGE_DIR)
This page took 0.041705 seconds and 5 git commands to generate.