2006-07-24 19:04:37 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=microcom
|
|
|
|
PKG_VERSION:=1.02
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2006-10-30 09:47:22 +00:00
|
|
|
PKG_SOURCE:=m102.tar.gz
|
2006-07-24 19:04:37 +00:00
|
|
|
PKG_SOURCE_URL:=http://microcom.port5.com/
|
|
|
|
PKG_MD5SUM:=c7817035dc41cb02e7cfb565cf9b7401
|
|
|
|
|
2006-10-30 09:47:22 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_UNPACK:=zcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
|
|
|
|
|
2006-07-24 19:04:37 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/microcom
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2006-10-30 09:47:22 +00:00
|
|
|
TITLE:=A serial terminal emulation program
|
2006-07-24 19:04:37 +00:00
|
|
|
URL:=http://microcomlinux.homestead.com/
|
2007-10-18 19:03:20 +00:00
|
|
|
SUBMENU:=terminal
|
2006-07-24 19:04:37 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/microcom/description
|
|
|
|
microcom is a minicom-like serial terminal emulator with scripting
|
|
|
|
support.
|
|
|
|
endef
|
|
|
|
|
2006-10-30 09:47:22 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
microcom
|
2006-07-24 19:04:37 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/microcom/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/microcom $(1)/usr/bin/
|
2006-07-24 19:04:37 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,microcom))
|