net-misc/can-utils - 2023.03 (guru)

Search

Install

Install this version:

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

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

autounmask =net-misc/can-utils-2023.03

Or alternatively:

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

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
2023.03 7 ~amd64 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools systemd

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}.tar.gz"

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

src_prepare() {
	default

	eautoreconf
}

# Default src_install + newconfd and newinitd
src_install() {

	emake DESTDIR="${D}" install

	einstalldocs

	systemd_dounit "${FILESDIR}/slcan.service"
	systemd_install_serviced "${FILESDIR}/slcan.service.conf"
	newconfd "${FILESDIR}/slcand.confd" slcand
	newinitd "${FILESDIR}/slcand.initd" slcand
}

Inherited Eclasses

Manifest for 2023.03

Type File Size Source URLs
DIST can-utils-2023.03.tar.gz 172270 bytes https://github.com/linux-can/can-utils/archive/v2023.03.tar.gz