Install this version:
emerge -a =app-arch/lz4json-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-arch/lz4json-9999
Or alternatively:
emerge --autounmask-write -a =app-arch/lz4json-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 9 | 0 |
# Copyright 2026 Nadeŭka <me+oss@nadevko.cc>
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit git-r3 toolchain-funcs
DESCRIPTION='C decompress tool for mozilla lz4json format'
HOMEPAGE=https://github.com/andikleen/lz4json
EGIT_REPO_URI=https://github.com/andikleen/${PN}.git
LICENSE=BSD-2
SLOT=0
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 lz4jsonpack
doman lz4jsoncat.1
}