Install this version:
emerge -a =net-wireless/libacars-2.2.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-wireless/libacars-2.2.1
Or alternatively:
emerge --autounmask-write -a =net-wireless/libacars-2.2.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.2.1 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A library for decoding various ACARS message payloads"
HOMEPAGE="https://github.com/szpajder/libacars"
SRC_URI="https://github.com/szpajder/libacars/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc json xml zlib"
DEPEND="json? ( dev-libs/jansson )
xml? ( dev-libs/libxml2 )
zlib? ( sys-libs/zlib:= )"
RDEPEND="${DEPEND}"
BDEPEND=""
CMAKE_MAKEFILE_GENERATOR="emake"
src_prepare() {
eapply "${FILESDIR}/${PN}-2.2.0-dont-install-docs.patch"
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DJANSSON=$(usex json ON OFF)
-DLIBXML2=$(usex xml ON OFF)
-DZLIB=$(usex zlib ON OFF)
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc README.md CHANGELOG.md
use doc && dodoc doc/*.md
}
Manage flags for this package:
euse -i <flag> -p net-wireless/libacars |
euse -E <flag> -p net-wireless/libacars |
euse -D <flag> -p net-wireless/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:= )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libacars-2.2.1.tar.gz | 325834 bytes | https://github.com/szpajder/libacars/archive/refs/tags/v2.2.1.tar.gz |