app-arch/lz4json - 9999 (nadevko)

Search

Install

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

Package Information

Description:
C decompress tool for mozilla lz4json format
Homepage:
https://github.com/andikleen/lz4json
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
9999 9 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

app-arch/lz4:=

RDEPEND

app-arch/lz4:=

BDEPEND

virtual/pkgconfig