2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://picocom.googlecode.com/files
16 PKG_MD5SUM:=426c3d30b82cbc80b0dafdccd6020c6c
18 include $(INCLUDE_DIR)/package.mk
20 define Package/picocom
23 TITLE:=A minimal dumb-terminal emulation program
24 URL:=http://code.google.com/p/picocom/
28 define Package/picocom/description
29 As its name suggests, picocom is a minimal dumb-terminal emulation
30 program. It is, in principle, very much like minicom, only it's pico
31 instead of mini! It was designed to serve as a simple, manual, modem
32 configuration, testing, and debugging tool. It has also served (quite
33 well) as a low-tech "terminal-window" to allow operator intervention
34 in PPP connection scripts. It could also prove useful in many other
38 define Build/Configure
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 $(TARGET_CONFIGURE_OPTS) \
44 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
45 LDFLAGS="$(TARGET_LDFLAGS)" \
49 define Package/picocom/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/picocom $(1)/usr/bin/
54 $(eval $(call BuildPackage,picocom))