2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=m102.tar.gz
16 PKG_SOURCE_URL:=http://microcom.port5.com/
17 PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_UNPACK:=zcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
22 include $(INCLUDE_DIR)/package.mk
24 define Package/microcom
27 TITLE:=A serial terminal emulation program
28 URL:=http://microcomlinux.homestead.com/
32 define Package/microcom/description
33 microcom is a minicom-like serial terminal emulator with scripting
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 $(TARGET_CONFIGURE_OPTS) \
40 CFLAGS="$(TARGET_CFLAGS)" \
44 define Package/microcom/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
49 $(eval $(call BuildPackage,microcom))