summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2012-03-09 13:18:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-11 15:00:31 +0100
commit608e6af167bd692611c9f60efe4f57dadc8b7fd7 (patch)
treecb7c392c8384564a0dd7f069a84b9793c7f651a5
parentf044e03776652d4f822c2f3787142bda34364965 (diff)
downloadbuildroot-novena-608e6af167bd692611c9f60efe4f57dadc8b7fd7.tar.gz
buildroot-novena-608e6af167bd692611c9f60efe4f57dadc8b7fd7.zip
New package minicom
[Peter: fix whitespace and deps (wchar, ncurses, only iconv if !locale)] Signed-off-by: Simon Dawson <spdawson at gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/minicom/Config.in14
-rw-r--r--package/minicom/minicom.mk18
3 files changed, 33 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 41cbb8c1a..c582f8a5e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -197,6 +197,7 @@ source "package/lvm2/Config.in"
source "package/makedevs/Config.in"
source "package/mdadm/Config.in"
source "package/memtester/Config.in"
+source "package/minicom/Config.in"
source "package/mtd/Config.in"
source "package/ntfs-3g/Config.in"
source "package/ntfsprogs/Config.in"
diff --git a/package/minicom/Config.in b/package/minicom/Config.in
new file mode 100644
index 000000000..a8a263538
--- /dev/null
+++ b/package/minicom/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_MINICOM
+ bool "minicom"
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+ select BR2_PACKAGE_NCURSES
+ help
+ Minicom is a menu driven communications program.
+ It emulates ANSI and VT102 terminals. It has a
+ dialing directory and auto zmodem download.
+
+ http://alioth.debian.org/projects/minicom
+
+comment "minicom requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/minicom/minicom.mk b/package/minicom/minicom.mk
new file mode 100644
index 000000000..cb09b839f
--- /dev/null
+++ b/package/minicom/minicom.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# minicom
+#
+#############################################################
+MINICOM_VERSION = 2.6
+MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.gz
+MINICOM_SITE = http://alioth.debian.org/frs/download.php/3689/
+
+# pkg-config is only used to check for liblockdev, which we don't have
+# in BR, so instead of adding host-pkg-config as a dependency, simply
+# make sure the host version isn't used so we don't end up with problems
+# if people have liblockdev1-dev installed
+MINICOM_CONF_ENV = PKG_CONFIG=/bin/false
+
+MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv)
+
+$(eval $(call AUTOTARGETS))