Hello, I'd like to maintain the package picocom
github/homepage: https://github.com/npat-efault/picocom
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 serial communications program to allow
access to all types of devices that provide serial consoles. It could also prove useful in
many other similar tasks. It can be used in embedded systems, since its memory footprint
is rather small (approximately 40K, when stripped and minimally configured).
Please review:
cygport:
attached, also in scallywag
https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=commitdiff;h=de7e29979579d5b7d965b126388f39e248c27a99
scallywag:
https://github.com/cygwin/scallywag/actions/runs/3833552061
This package is also present in Linux distributions, e.g. Ubuntu:
https://packages.ubuntu.com/source/kinetic/s390x/picocom
License: GNU General Public License v2.0
https://github.com/npat-efault/picocom/blob/master/LICENSE.txt
Regards,
Libor
# package name
NAME="picocom"
VERSION=3.1
RELEASE=1
# .hint generation
CATEGORY="Utils"
SUMMARY="Minimal dumb-terminal emulator"
DESCRIPTION="picocom 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 (something like the ms-windows \"open
terminal window before / after dialing\" feature). It could also prove
useful in many other similar tasks. It is ideal for embedded systems
since its memory footprint is minimal."
HOMEPAGE="hhttps://github.com/npat-efault/picocom"
LICENSE="GPL-2.0"
# source and patch files
SRC_URI="https://github.com/npat-efault/${NAME}/archive/refs/tags/${VERSION}.tar.gz"
REQUIRES=""
BUILD_REQUIRES+="gcc-g++"
MAKEOPTS=""
# use modified src_compile and src_install
src_compile() {
cd ${S}
lndirs
cd ${B}
cygmake
}
src_install() {
cd ${B}
dobin picocom
doman picocom.1
dodoc picocom.1.html
}