Added support for : save-password( --enable-password-save), smaller executable (...
[openwrt.git] / openwrt / package / microcom / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=microcom
6 PKG_VERSION:=1.02
7 PKG_FILEVERSION:=102
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
10
11 PKG_SOURCE_URL:=http://microcom.port5.com/
12 PKG_SOURCE:=m$(PKG_FILEVERSION).tar.gz
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,MICROCOM,microcom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.prepared:
22 rm -rf $(PKG_BUILD_DIR)
23 mkdir -p $(PKG_BUILD_DIR)
24 # the .tar.gz is different - no subdirectory, so do this manually
25 zcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(PKG_BUILD_DIR) $(TAR_OPTIONS) -
26 touch $@
27
28 $(PKG_BUILD_DIR)/.configured:
29 $(CP) $(PKG_BUILD_DIR)/Makefile $(PKG_BUILD_DIR)/Makefile.tmp
30 sed 's~gcc~$$(CC)~' $(PKG_BUILD_DIR)/Makefile.tmp > $(PKG_BUILD_DIR)/Makefile
31 touch $@
32
33 $(PKG_BUILD_DIR)/.built:
34 $(MAKE) -C $(PKG_BUILD_DIR) CC=$(TARGET_CC)
35 touch $@
36
37 $(IPKG_MICROCOM):
38 install -d -m0755 $(IDIR_MICROCOM)/usr/bin
39 install -m0755 $(PKG_BUILD_DIR)/microcom $(IDIR_MICROCOM)/usr/bin
40 $(RSTRIP) $(IDIR_MICROCOM)
41 $(IPKG_BUILD) $(IDIR_MICROCOM) $(PACKAGE_DIR)
42
This page took 0.040061 seconds and 5 git commands to generate.