3 include $(TOPDIR
)/rules.mk
6 PKG_VERSION
:=0.9.4-beta2
8 PKG_MD5SUM
:=fe2e617954eccacd9b5c3d6e85f41c89
10 PKG_SOURCE_URL
:=http
://hng.av.it.pt
/mrd6
/download
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,MRD6
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
28 CFLAGS
="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
29 CXX
=$(TARGET_CROSS
)g
++ \
31 STAGING_DIR
=$(STAGING_DIR
) \
33 DESTDIR
=$(PKG_INSTALL_DIR
) \
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
)
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
)