3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=647d2ab72ec454f89294accfb3182c09
10 PKG_SOURCE_URL
:=@SF
/reaim
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
,REAIM
,reaim
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 CFLAGS
="$(TARGET_CFLAGS)" \
30 DESTDIR
="$(PKG_INSTALL_DIR)" \
35 install -d
-m0755
$(IDIR_REAIM
)/etc
/init.d
36 install -m0755 .
/files
/reaim.init
$(IDIR_REAIM
)/etc
/init.d
/reaim
37 ln
-sf reaim
$(IDIR_REAIM
)/etc
/init.d
/S63reaim
38 install -d
-m0755
$(IDIR_REAIM
)/usr
/sbin
39 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/reaim
$(IDIR_REAIM
)/usr
/sbin
/
40 $(RSTRIP
) $(IDIR_REAIM
)
41 $(IPKG_BUILD
) $(IDIR_REAIM
) $(PACKAGE_DIR
)