sys-power/nct6687d - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =sys-power/nct6687d-9999

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

autounmask =sys-power/nct6687d-9999

Or alternatively:

emerge --autounmask-write -a =sys-power/nct6687d-9999

Package Information

Description:
Kernel module for the Nuvoton NCT6687-R
Homepage:
https://github.com/Fred78290/nct6687d
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit linux-mod-r1

if [[ ${PV} == 9999 ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/Fred78290/nct6687d"
else
	COMMIT="2189bf7c301b720d47f24d7b3e1413786cf00df5"
	SRC_URI="https://github.com/Fred78290/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/${PN}-${COMMIT}"
	KEYWORDS="~amd64"
fi

DESCRIPTION="Kernel module for the Nuvoton NCT6687-R"
HOMEPAGE="https://github.com/Fred78290/nct6687d"

LICENSE="GPL-2"
SLOT="0"

src_compile() {
	local modlist=( nct6687=kernel/drivers/hwmon::${KV_FULL}:build )
	local modargs=( kver="${KV_FULL}" )
	linux-mod-r1_src_compile
}

Inherited Eclasses