2006-07-24 19:05:45 +00:00
|
|
|
#
|
2010-03-24 04:49:34 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2006-07-24 19:05:45 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=picocom
|
2010-09-04 07:22:35 +00:00
|
|
|
PKG_VERSION:=1.6
|
2006-07-24 19:05:45 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-03-24 04:49:34 +00:00
|
|
|
PKG_SOURCE_URL:=http://picocom.googlecode.com/files
|
2010-09-04 07:22:35 +00:00
|
|
|
PKG_MD5SUM:=426c3d30b82cbc80b0dafdccd6020c6c
|
2006-07-24 19:05:45 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/picocom
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=A minimal dumb-terminal emulation program
|
2010-03-24 04:49:34 +00:00
|
|
|
URL:=http://code.google.com/p/picocom/
|
2010-06-21 21:55:06 +00:00
|
|
|
SUBMENU:=Terminal
|
2006-07-24 19:05:45 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/picocom/description
|
|
|
|
As its name suggests, picocom is a minimal dumb-terminal emulation
|
|
|
|
program. It is, in principle, very much like minicom, only it's pico
|
|
|
|
instead of mini! It was designed to serve as a simple, manual, modem
|
|
|
|
configuration, testing, and debugging tool. It has also served (quite
|
|
|
|
well) as a low-tech "terminal-window" to allow operator intervention
|
|
|
|
in PPP connection scripts. It could also prove useful in many other
|
|
|
|
similar tasks.
|
|
|
|
endef
|
|
|
|
|
2006-07-24 19:05:45 +00:00
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2009-04-29 12:56:17 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
2006-07-24 19:05:45 +00:00
|
|
|
picocom
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/picocom/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
|
2006-07-24 19:05:45 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,picocom))
|