net-misc/can-utils - 2025.01 (pentoo)

Search

Install

Install this version:

emerge -a =net-misc/can-utils-2025.01

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/can-utils-2025.01

Or alternatively:

emerge --autounmask-write -a =net-misc/can-utils-2025.01

Package Information

Description:
SocketCAN userspace utilities and tools
Homepage:
https://github.com/linux-can/can-utils
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2025.01 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="SocketCAN userspace utilities and tools"
HOMEPAGE="https://github.com/linux-can/can-utils"
SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"

src_configure() {
	local mycmakeargs=(
	    -DCMAKE_C_FLAGS="${CFLAGS}"
	    -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
	    -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}"
	    -DCMAKE_BUILD_TYPE=MinSizeRel
	)
	cmake_src_configure
}

src_install() {
	cmake_src_install
}

Inherited Eclasses

Manifest for 2025.01

Type File Size Source URLs
DIST can-utils-2025.01.gh.tar.gz 242822 bytes https://github.com/linux-can/can-utils/archive/v2025.01.tar.gz