Install this version:
emerge -a =app-arch/lz4json-2
# Copyright 2026 Nadeŭka <me+oss@nadevko.cc>
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit toolchain-funcs
DESCRIPTION='C decompress tool for mozilla lz4json format'
HOMEPAGE=https://github.com/andikleen/lz4json
SRC_URI="https://github.com/andikleen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE=BSD-2
SLOT=0
KEYWORDS='amd64 ~arm64 ~x86'
BDEPEND=virtual/pkgconfig
DEPEND='app-arch/lz4:='
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i 's|CFLAGS :=|CFLAGS +=|g' Makefile ||
die 'failed to patch Makefile'
}
src_compile() {
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
dobin lz4jsoncat
doman lz4jsoncat.1
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | lz4json-2.tar.gz | 1798 bytes | https://github.com/andikleen/lz4json/archive/refs/tags/v2.tar.gz |