mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
sys-process/nq: Move from sys-apps
I didn't realize sys-process was a group, this is a better place for it. Comparisons to nq are the likes of `at`, which are also found in this group Signed-off-by: Marco Sirabella <marco@sirabella.org>
This commit is contained in:
38
sys-process/nq/nq-0.4.ebuild
Normal file
38
sys-process/nq/nq-0.4.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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
|
||||
|
||||
DEPEND=""
|
||||
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 CFLAGS="${CFLAGS} -Wno-unused-result"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr ALL="nq fq $(usev tq)" install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user