diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 23:44:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 23:44:17 +0100 |
commit | fdca6388cf31827202fae75cae067c695bd09339 (patch) | |
tree | 5021150295c139ea6a808950a9e1928b8ef593b8 /dev-util/fq/fq-0.5.0.ebuild | |
parent | b43fb9ec552fc1a84599161478d77c6716dd9e0a (diff) |
gentoo auto-resync : 13:04:2023 - 23:44:17
Diffstat (limited to 'dev-util/fq/fq-0.5.0.ebuild')
-rw-r--r-- | dev-util/fq/fq-0.5.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/fq/fq-0.5.0.ebuild b/dev-util/fq/fq-0.5.0.ebuild new file mode 100644 index 000000000000..5df96c3f076c --- /dev/null +++ b/dev-util/fq/fq-0.5.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Tool for working with binary data (app-misc/jq for binary formats)" +HOMEPAGE="https://github.com/wader/fq" +SRC_URI="https://github.com/wader/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-tcltk/expect )" + +src_prepare() { + default + + # Don't unconditionally (and therefore twice) build tests + # TODO: upstream + sed -i -e 's/all: test fq/all: fq/' Makefile || die +} + +src_compile() { + # Avoid -s being set in Makefile (stripping) + export GO_BUILD_LDFLAGS="-w" + + default +} + +src_install() { + einstalldocs + + dobin fq +} |