3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=24a08cf1407000d628a272b08a415dda
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
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,MRD6
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
29 CFLAGS
="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
30 CXX
=$(TARGET_CROSS
)g
++ \
32 STAGING_DIR
=$(STAGING_DIR
) \
33 DESTDIR
=$(PKG_INSTALL_DIR
) \
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
)
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
)