summaryrefslogtreecommitdiff
path: root/sys-process/nq
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
commitdda948891d3731927b821ce31f9d9a2d03ba20c5 (patch)
tree99cd40be4cbb0606260da212cd81b8ab2db9da9b /sys-process/nq
parenta3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff)
downloadbaldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip
Adding metadata
Diffstat (limited to 'sys-process/nq')
-rw-r--r--sys-process/nq/Manifest1
-rw-r--r--sys-process/nq/metadata.xml20
-rw-r--r--sys-process/nq/nq-0.4.ebuild41
3 files changed, 62 insertions, 0 deletions
diff --git a/sys-process/nq/Manifest b/sys-process/nq/Manifest
new file mode 100644
index 000000000000..5f9ea0a1a5df
--- /dev/null
+++ b/sys-process/nq/Manifest
@@ -0,0 +1 @@
+DIST nq-0.4.tar.gz 11976 BLAKE2B 2fa22bd0518e8eea09604db4bfb3c0c11583e8c812bb80697d4697afe30283ff878e367e5e42b0894a1a216ee3ce313f41a8f5d217dcc15a49a8b331d0ba9c3f SHA512 c4587c2074dd6e3d18d56a273b943b2594f6ea73912d774120706dbcb6a64e0b7a99c4da7283cbe0d3d47eb24fa246625e9180a88ee2e0cacc647de8c8606c38
diff --git a/sys-process/nq/metadata.xml b/sys-process/nq/metadata.xml
new file mode 100644
index 000000000000..ebde634c34c9
--- /dev/null
+++ b/sys-process/nq/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marco@sirabella.org</email>
+ <name>Marco Sirabella</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/leahneukirchen/nq/issues</bugs-to>
+ <changelog>https://git.vuxu.org/nq/plain/NEWS.md</changelog>
+ </upstream>
+ <longdescription lang="en">
+ These small utilities allow creating very lightweight job queue systems which require no setup, maintenance, supervision, or any long-running processes.
+ </longdescription>
+ <use>
+ <flag name="shell">Use shell implementation</flag>
+ <flag name="tq">Install tq, a tmux &amp; screen wrapper</flag>
+ </use>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/sys-process/nq/nq-0.4.ebuild b/sys-process/nq/nq-0.4.ebuild
new file mode 100644
index 000000000000..efcab3504dbf
--- /dev/null
+++ b/sys-process/nq/nq-0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+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 +tq test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="shell? ( !test )" # shell alternatives currently fail tests
+
+RDEPEND="
+ shell? ( sys-apps/util-linux sys-apps/coreutils )
+ tq? ( || ( 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 fq.sh fq
+ fi
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wno-unused-result"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr ALL="nq fq $(usev tq)" install
+ einstalldocs
+ insinto /usr/share/zsh/site-functions
+ doins _nq
+}