app-misc/reptyr - 0.10.0 (gentoo)

Search

Package Information

Description:
A utility to attach a running program to a new terminal
Homepage:
https://github.com/nelhage/reptyr
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.10.0 8 amd64 ~arm ~arm64 ~ppc64 ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit bash-completion-r1 toolchain-funcs flag-o-matic vcs-snapshot

DESCRIPTION="A utility to attach a running program to a new terminal"
HOMEPAGE="https://github.com/nelhage/reptyr"
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"

RESTRICT="test"

src_prepare() {
	default
	# respect CFLAGS
	sed -i '/^override/d' Makefile || die
}

src_compile() {
	append-cppflags -D_GNU_SOURCE
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
	dodoc ChangeLog NOTES README.md
	newbashcomp reptyr{.bash,}
}

Manifest for 0.10.0

Type File Size Source URLs
DIST reptyr-0.10.0.tar.gz 33216 bytes https://github.com/nelhage/reptyr/archive/reptyr-0.10.0.tar.gz