3 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:=c7817035dc41cb02e7cfb565cf9b7401
11 PKG_SOURCE_URL
:=http
://microcom.port5.com
/
12 PKG_SOURCE
:=m
$(PKG_FILEVERSION
).
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,MICROCOM
,microcom
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.prepared
:
23 rm -rf
$(PKG_BUILD_DIR
)
24 mkdir
-p
$(PKG_BUILD_DIR
)
25 # the .tar.gz is different - no subdirectory, so do this manually
26 $(PKG_CAT
) $(DL_DIR
)/$(PKG_SOURCE
) |
tar -C
$(PKG_BUILD_DIR
) $(TAR_OPTIONS
) -
29 $(PKG_BUILD_DIR
)/.configured
:
30 cp
$(PKG_BUILD_DIR
)/Makefile
$(PKG_BUILD_DIR
)/Makefile.tmp
31 sed
's~gcc~$$(CC)~' $(PKG_BUILD_DIR
)/Makefile.tmp
> $(PKG_BUILD_DIR
)/Makefile
34 $(PKG_BUILD_DIR
)/.built
:
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) CC
=$(TARGET_CC
)
39 install -d
-m0755
$(IDIR_MICROCOM
)/usr
/bin
40 install -m0755
$(PKG_BUILD_DIR
)/microcom
$(IDIR_MICROCOM
)/usr
/bin
41 $(RSTRIP
) $(IDIR_MICROCOM
)
42 $(IPKG_BUILD
) $(IDIR_MICROCOM
) $(PACKAGE_DIR
)