net-dialup/picocom - 2024.07 (gentoo)

Search

Install

Install this version:

emerge -a =net-dialup/picocom-2024.07

Package Information

Description:
minimal dumb-terminal emulation program
Homepage:
https://gitlab.com/wsakernel/picocom
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
2024.07 8 amd64 arm64 ~loong ~ppc ppc64 ~riscv ~sparc 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit bash-completion-r1 toolchain-funcs

MY_PV=${PV/./-}

DESCRIPTION="minimal dumb-terminal emulation program"
HOMEPAGE="https://gitlab.com/wsakernel/picocom"
SRC_URI="
	https://gitlab.com/wsakernel/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.bz2
	!man? ( https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org/${CATEGORY}/${PN}/${P}.1.bz2 )
"
S="${WORKDIR}/${PN}-${MY_PV}"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ~loong ~ppc ppc64 ~riscv ~sparc"
IUSE="+man"

BDEPEND="man? ( dev-go/go-md2man )"

src_prepare() {
	default

	use man || cp "${WORKDIR}"/${P}.1 picocom.1
}

src_compile() {
	emake CFLAGS="${CFLAGS} -Wall" CC="$(tc-getCC)"

	use man && emake doc
}

src_install() {
	dobin picocom pc{asc,xm,ym,zm}
	dodoc CONTRIBUTORS CONTRIBUTORS.old README.md
	dobashcomp bash_completion/picocom

	doman picocom.1
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-dialup/picocom | euse -E <flag> -p net-dialup/picocom | euse -D <flag> -p net-dialup/picocom

Global/Standard Flags

man
Default: Enabled (+)

Inherited Eclasses

Dependencies

BDEPEND

man? ( dev-go/go-md2man )

Manifest for 2024.07

Type File Size Source URLs
DIST picocom-2024-07.tar.bz2 73290 bytes https://gitlab.com/wsakernel/picocom/-/archive/2024-07/picocom-2024-07.tar.bz2
DIST picocom-2024.07.1.bz2 8885 bytes https://distfiles.gentoo.org/pub/dev/ceamac@gentoo.org//picocom/picocom-2024.07.1.bz2