commit: 00cdb38d9b5178c5212fca16f106a3f3fd441a38 Author: m <m <AT> sirabella <DOT> org> AuthorDate: Mon Oct 20 17:45:56 2025 +0000 Commit: Marco Sirabella <marco <AT> sirabella <DOT> org> CommitDate: Mon Oct 20 17:46:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00cdb38d
sys-process/nq: add 1.0 Signed-off-by: m <m <AT> sirabella.org> sys-process/nq/Manifest | 1 + sys-process/nq/nq-1.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-process/nq/Manifest b/sys-process/nq/Manifest index 5f9ea0a1a5..dd1b6bef81 100644 --- a/sys-process/nq/Manifest +++ b/sys-process/nq/Manifest @@ -1 +1,2 @@ DIST nq-0.4.tar.gz 11976 BLAKE2B 2fa22bd0518e8eea09604db4bfb3c0c11583e8c812bb80697d4697afe30283ff878e367e5e42b0894a1a216ee3ce313f41a8f5d217dcc15a49a8b331d0ba9c3f SHA512 c4587c2074dd6e3d18d56a273b943b2594f6ea73912d774120706dbcb6a64e0b7a99c4da7283cbe0d3d47eb24fa246625e9180a88ee2e0cacc647de8c8606c38 +DIST nq-1.0.tar.gz 12368 BLAKE2B f81adaecdd6a513e89b4afcf97915fa314e948c5201f0f87fb6fe847057b73bb3b95efd0d3d2b6a052382a53f49088a92089affe094e8274c4f80cf29a046754 SHA512 94bb4eff7ea868b2203d2c7d40752b6050fd89465e8a86a0dd806bbf415180d856fe70c4152c00e42ee4b52c109f74847c0e52ccbf78e9cbcb6a7feaf290f932 diff --git a/sys-process/nq/nq-1.0.ebuild b/sys-process/nq/nq-1.0.ebuild new file mode 100644 index 0000000000..a16421cc16 --- /dev/null +++ b/sys-process/nq/nq-1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs shell-completion + +DESCRIPTION="Unix command line queue utility" +HOMEPAGE="https://git.vuxu.org/nq/about/" +SRC_URI="https://git.vuxu.org/${PN}/snapshot/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="shell +nqterm test" +RESTRICT="!test? ( test )" +REQUIRED_USE="shell? ( !test )" # shell alternatives currently fail tests + +RDEPEND=" + shell? ( sys-apps/util-linux sys-apps/coreutils ) + nqterm? ( || ( app-misc/tmux app-misc/screen ) ) +" +BDEPEND="test? ( dev-lang/perl )" + +DOCS=( README.md NEWS.md ) + +src_compile() { + if use shell; then + cp nq.sh nq + cp nqtail.sh nqtail + fi + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wno-unused-result" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr ALL="nq nqtail $(usev nqterm)" install + einstalldocs + dozshcomp _nq +}
