sys-process/nq: add 0.5

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-02-15 12:07:42 +02:00
parent 1eb1269c72
commit e4a7da5f94
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.3.1.tar.gz 11015 BLAKE2B a9417d2508e87b462fd794ce924861e99a439e560bde6113cb8b982cd4d1d83be978fbcde80d636f09c875660db74209dd213bc646ff6fb2ac23e8f467c92648 SHA512 42a43eb90488e17439d12740268b66cf6ed6f255ee0377f2df02f97fe2cdd562726e06909fb8efa26e3740e885088083f0880d986bf3f58615a21f1ea4c11d87
DIST nq-0.5.tar.gz 12229 BLAKE2B 4f68cb0615cfec29d8c67d61983eb34b3d92f9bff5d256bf7b3ba4cfb681572d9b4832d432ef179e90640b9d0f0352df1cf4a553f8cfc1e40e489f6622cd2a9a SHA512 784031971df0585c38c8e47b37d1a5ce73c35c71ab6c9abb7c3df6450eb26a53ad0e649f86a40a742201125ef88e246db34781491935e709ae8fc66afcdf6c0e

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
}