Browse Source

minicom: Import 2.3 from packages and update to 2.7.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
lilik-openwrt-22.03
Álvaro Fernández Rojas 11 years ago
parent
commit
fa7fae7495
2 changed files with 57 additions and 0 deletions
  1. +45
    -0
      utils/minicom/Makefile
  2. +12
    -0
      utils/minicom/patches/100-fix_iconv_include.patch

+ 45
- 0
utils/minicom/Makefile View File

@ -0,0 +1,45 @@
#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=minicom
PKG_VERSION:=2.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/3977/
PKG_MD5SUM:=7044ca3e291268c33294f171d426dc2d
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/minicom
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=Terminal emulation program
URL:=http://alioth.debian.org/projects/minicom/
SUBMENU:=Terminal
endef
define Package/minicom/conffiles
/etc/minirc.dfl
endef
define Package/minicom/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ascii-xfr $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,minicom))

+ 12
- 0
utils/minicom/patches/100-fix_iconv_include.patch View File

@ -0,0 +1,12 @@
--- a/src/minicom.c
+++ b/src/minicom.c
@@ -31,7 +31,9 @@
#include <getopt.h>
#include <wchar.h>
#include <wctype.h>
+#ifdef HAVE_ICONV
#include <iconv.h>
+#endif
#include <limits.h>
#define EXTERN

Loading…
Cancel
Save