diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-09 22:34:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-09 22:34:14 +0100 |
commit | 3a77d78ca92715b58ddac074baa5b25c4baf9a9b (patch) | |
tree | 6dc147c4f02d9c37807f61c29d1fad916f967a94 /app-misc/reptyr/reptyr-0.10.0.ebuild | |
parent | 785047acce64d1217286105397cc6fe433c34cb3 (diff) |
gentoo auto-resync : 09:09:2023 - 22:34:14
Diffstat (limited to 'app-misc/reptyr/reptyr-0.10.0.ebuild')
-rw-r--r-- | app-misc/reptyr/reptyr-0.10.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-misc/reptyr/reptyr-0.10.0.ebuild b/app-misc/reptyr/reptyr-0.10.0.ebuild new file mode 100644 index 000000000000..4d4df0b48378 --- /dev/null +++ b/app-misc/reptyr/reptyr-0.10.0.ebuild @@ -0,0 +1,33 @@ +# 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 ~amd64-linux ~x86-linux" + +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,} +} |