Install this version:
emerge -a =dev-libs/libacars-2.2.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/libacars-2.2.1
Or alternatively:
emerge --autounmask-write -a =dev-libs/libacars-2.2.1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A library for decoding ACARS message payloads"
HOMEPAGE="https://github.com/szpajder/libacars"
SRC_URI="https://github.com/szpajder/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+json +xml +zlib"
RDEPEND="
json? ( dev-libs/jansson )
xml? ( dev-libs/libxml2:= )
zlib? ( sys-libs/zlib:= )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DJANSSON=$(usex json ON OFF)
-DLIBXML2=$(usex xml ON OFF)
-DZLIB=$(usex zlib ON OFF)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-libs/libacars |
euse -E <flag> -p dev-libs/libacars |
euse -D <flag> -p dev-libs/libacars
json? ( dev-libs/jansson ) xml? ( dev-libs/libxml2:= ) zlib? ( sys-libs/zlib:= )
json? ( dev-libs/jansson ) xml? ( dev-libs/libxml2:= ) zlib? ( sys-libs/zlib:= )
virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libacars-2.2.1.tar.gz | 325834 bytes | https://github.com/szpajder/libacars/archive/v2.2.1.tar.gz |