diff options
author | Hans Fredrik Nordhaug <hansfn@gmail.com> | 2021-08-19 12:50:48 +0200 |
---|---|---|
committer | Hans Fredrik Nordhaug <hansfn@gmail.com> | 2021-08-19 12:50:48 +0200 |
commit | cfd934366b152f77b33ea9a2ed9af9cc36717bd8 (patch) | |
tree | f807df1798424c2e05e283e922269f7b220a1aee /net-misc | |
parent | sys-cluster/nanox: fix useflag constraint (diff) | |
download | guru-cfd934366b152f77b33ea9a2ed9af9cc36717bd8.tar.gz guru-cfd934366b152f77b33ea9a2ed9af9cc36717bd8.tar.bz2 guru-cfd934366b152f77b33ea9a2ed9af9cc36717bd8.zip |
net-misc/can-utils: New version 2021.08.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans Fredrik Nordhaug <hansfn@gmail.com>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/can-utils/Manifest | 1 | ||||
-rw-r--r-- | net-misc/can-utils/can-utils-2021.08.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/can-utils/Manifest b/net-misc/can-utils/Manifest index d6ff0f220..cea2fb656 100644 --- a/net-misc/can-utils/Manifest +++ b/net-misc/can-utils/Manifest @@ -1,2 +1,3 @@ DIST can-utils-2020.02.04.tar.gz 121866 BLAKE2B 64a9e0dbc2e65ef01b6709fc608daecce53592f98c002a46b15a282fff33f52d1d7b34d22ed85f1e2a2eb8a7be6e5ce69a85ba4e2ba19f251994f5022697f474 SHA512 5f12a84b82564da5a47e6dc906bf26f0e56db77ce367b5b72a2820cf18447d78a355d0173c678e33dc0e4cc07ef3a12b3a84d6b016c7ee0b1ac5a7f10daee1c8 DIST can-utils-2020.12.0.tar.gz 132010 BLAKE2B 626c0b88973c0579728869013f48ec7de4bcd94dd98ed4ae8349a0b71ec2eb9892d267501ff7af58b34ac528f2d6e733aad795582bcc96b03d20ae0710986ea8 SHA512 b9d92b7734611deaf445708aabf4f46f7cf3ad88f46618fbae6821d308b2950da014420b194792e4d2458f396bd85f200a8d10112c10191a98624073b8502c19 +DIST can-utils-2021.08.0.tar.gz 148133 BLAKE2B 591221990aeb2aebb73f4288dba80fa32c65b8c592aa35ccc9cfbd0a8e6a30beb4f5d838811ffd96eba393a7cd3d3fa2aee8ca7378c9c27c694a89da7e9e6ec4 SHA512 367dc19fc653abda0cd6f843f51487f0c538d691542a1a7f5acb87a82b72efb0da5351568de87cd7d3894eaa53b7271e56d8cb66fa2f55079ed0bb1e015dcd99 diff --git a/net-misc/can-utils/can-utils-2021.08.0.ebuild b/net-misc/can-utils/can-utils-2021.08.0.ebuild new file mode 100644 index 000000000..2dafd5871 --- /dev/null +++ b/net-misc/can-utils/can-utils-2021.08.0.ebuild @@ -0,0 +1,33 @@ +# 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 +} |