summaryrefslogtreecommitdiffstats
path: root/openwrt/package/picocom
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-10 17:12:46 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-10 17:12:46 +0000
commit62ccd96919d0e7075260f461908f6377a4727093 (patch)
tree27acb8d811fd6963b614b015d7989b8f783b4c2b /openwrt/package/picocom
parent9d4303f352c3d353f546ab513818c36c55b89419 (diff)
Add picocom package, move serial comm. stuff to its section in Config.in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1187 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/picocom')
-rw-r--r--openwrt/package/picocom/Config.in15
-rw-r--r--openwrt/package/picocom/Makefile33
-rw-r--r--openwrt/package/picocom/ipkg/picocom.control6
3 files changed, 54 insertions, 0 deletions
diff --git a/openwrt/package/picocom/Config.in b/openwrt/package/picocom/Config.in
new file mode 100644
index 000000000..5ed558d0d
--- /dev/null
+++ b/openwrt/package/picocom/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PICOCOM
+ tristate "picocom - minimal dumb-terminal emulation program"
+# default m if CONFIG_DEVEL
+ default n
+ help
+ 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.
+
+ http://efault.net/npat/hacks/picocom/
+ \ No newline at end of file
diff --git a/openwrt/package/picocom/Makefile b/openwrt/package/picocom/Makefile
new file mode 100644
index 000000000..1f07c61ef
--- /dev/null
+++ b/openwrt/package/picocom/Makefile
@@ -0,0 +1,33 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=picocom
+PKG_VERSION:=1.4
+PKG_RELEASE:=1
+PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70
+
+PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,PICOCOM,picocom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
+ CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \
+ picocom
+ touch $@
+
+$(IPKG_PICOCOM):
+ install -d -m0755 $(IDIR_PICOCOM)/usr/bin
+ install -m0755 $(PKG_BUILD_DIR)/picocom $(IDIR_PICOCOM)/usr/bin/
+ $(RSTRIP) $(IDIR_PICOCOM)
+ $(IPKG_BUILD) $(IDIR_PICOCOM) $(PACKAGE_DIR)
diff --git a/openwrt/package/picocom/ipkg/picocom.control b/openwrt/package/picocom/ipkg/picocom.control
new file mode 100644
index 000000000..17e705f97
--- /dev/null
+++ b/openwrt/package/picocom/ipkg/picocom.control
@@ -0,0 +1,6 @@
+Package: picocom
+Priority: optional
+Section: console
+Maintainer: bugs@openwrt.org
+Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/picocom/
+Description: minimal dumb-terminal emulation program