sys-process/nq: add 1.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-07-05 04:11:12 +03:00
parent c99cbbbf3b
commit e1b318eeaa
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 43 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST nq-0.5.tar.gz 12229 BLAKE2B 4f68cb0615cfec29d8c67d61983eb34b3d92f9bff5d256bf7b3ba4cfb681572d9b4832d432ef179e90640b9d0f0352df1cf4a553f8cfc1e40e489f6622cd2a9a SHA512 784031971df0585c38c8e47b37d1a5ce73c35c71ab6c9abb7c3df6450eb26a53ad0e649f86a40a742201125ef88e246db34781491935e709ae8fc66afcdf6c0e DIST nq-0.5.tar.gz 12229 BLAKE2B 4f68cb0615cfec29d8c67d61983eb34b3d92f9bff5d256bf7b3ba4cfb681572d9b4832d432ef179e90640b9d0f0352df1cf4a553f8cfc1e40e489f6622cd2a9a SHA512 784031971df0585c38c8e47b37d1a5ce73c35c71ab6c9abb7c3df6450eb26a53ad0e649f86a40a742201125ef88e246db34781491935e709ae8fc66afcdf6c0e
DIST nq-1.0.tar.gz 12368 BLAKE2B f81adaecdd6a513e89b4afcf97915fa314e948c5201f0f87fb6fe847057b73bb3b95efd0d3d2b6a052382a53f49088a92089affe094e8274c4f80cf29a046754 SHA512 94bb4eff7ea868b2203d2c7d40752b6050fd89465e8a86a0dd806bbf415180d856fe70c4152c00e42ee4b52c109f74847c0e52ccbf78e9cbcb6a7feaf290f932

View File

@ -0,0 +1,42 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Unix command line queue utility"
HOMEPAGE="https://github.com/leahneukirchen/nq"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/leahneukirchen/${PN}.git"
else
SRC_URI="https://github.com/leahneukirchen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="CC0-1.0"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
!dev-gap/nq
!dev-util/fq
"
BDEPEND="
test? (
dev-lang/perl
)
"
src_prepare() {
default
sed -i -e 's/CFLAGS=/CFLAGS?=/' Makefile || die
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}