diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild')
-rw-r--r-- | app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild new file mode 100644 index 000000000000..90210e25cb73 --- /dev/null +++ b/app-admin/ryzen_smu/ryzen_smu-0.1.2_p20211205.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-mod linux-info toolchain-funcs + +SRC_URI="https://dev.gentoo.org/~slashbeast/distfiles/${PN}/${P}.tar.xz" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Kernel driver for AMD Ryzen's System Management Unit" +HOMEPAGE="https://github.com/leogx9r/ryzen_smu" + +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND="" +RDEPEND="" + +MODULE_NAMES="ryzen_smu(misc)" + +pkg_setup() { + linux_config_exists + + linux-mod_pkg_setup + + BUILD_TARGETS="modules" + BUILD_PARAMS="CC=$(tc-getCC) KERNEL_BUILD=${KERNEL_DIR}" +} + +src_install() { + linux-mod_src_install + insinto /usr/lib/modules-load.d/ + newins "${FILESDIR}"/ryzen_smu.conf ryzen_smu.conf + +} |