sys-kernel/gasket-driver - 9999 (gentooplusplus)

Search

Install

Install this version:

emerge -a =sys-kernel/gasket-driver-9999

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

autounmask =sys-kernel/gasket-driver-9999

Or alternatively:

emerge --autounmask-write -a =sys-kernel/gasket-driver-9999

Package Information

Description:
The Coral Gasket Driver allows usage of the Coral EdgeTPU on Linux systems
Homepage:
https://github.com/google/gasket-driver
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit linux-mod-r1 udev git-r3

DESCRIPTION="The Coral Gasket Driver allows usage of the Coral EdgeTPU on Linux systems"
HOMEPAGE="https://github.com/google/gasket-driver"
EGIT_REPO_URI="https://github.com/google/gasket-driver.git"
KEYWORDS="~amd64"

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

BDEPEND="
	virtual/linux-sources
"

src_compile() {
	local modargs=( KVERSION="${KV_FULL}" )
	local modlist=( gasket=drivers/pci/pcie:${S}/src apex=drivers/pci/pcie:${S}/src )

	linux-mod-r1_src_compile
}

src_install() {
	linux-mod-r1_src_install
	insinto /lib/udev/rules.d
	newins ${S}/debian/gasket-dkms.udev 60-gasket.rules
}

pkg_postinst() {
	linux-mod-r1_pkg_postinst
	udev_reload
}

Inherited Eclasses

Dependencies

BDEPEND

	virtual/linux-sources