sys-process/nq - 0.4 (guru)

Search

Install

Install this version:

emerge -a =sys-process/nq-0.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-process/nq-0.4

Or alternatively:

emerge --autounmask-write -a =sys-process/nq-0.4

Package Information

Description:
Unix command line queue utility
Homepage:
https://git.vuxu.org/nq/about/
License:
public-domain

Ebuild Details

Version EAPI Keywords Slot
0.4 7 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-process/nq | euse -E <flag> -p sys-process/nq | euse -D <flag> -p sys-process/nq

Global/Standard Flags

tq
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

	shell? ( sys-apps/util-linux sys-apps/coreutils )
	tq? ( || ( app-misc/tmux app-misc/screen ) )

BDEPEND

test? ( dev-lang/perl )

Manifest for 0.4

Type File Size Source URLs
DIST nq-0.4.tar.gz 11976 bytes https://git.vuxu.org/nq/snapshot/nq-0.4.tar.gz