diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 01:20:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 01:20:40 +0100 |
commit | cb6b2150348c9dc57c68bcba47bcdb6f20e8e508 (patch) | |
tree | 4d89a8eab47a7fbc14b209c7c252724a72c68f8a /sys-kernel/cryptodev/cryptodev-9999.ebuild | |
parent | c0bcbed1a8a833beeae3ab7541dc9f460ab7cfce (diff) |
gentoo auto-resync : 22:06:2023 - 01:20:39
Diffstat (limited to 'sys-kernel/cryptodev/cryptodev-9999.ebuild')
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-9999.ebuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild index ac9bd1eeea15..b5a1a271a0b0 100644 --- a/sys-kernel/cryptodev/cryptodev-9999.ebuild +++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit linux-info linux-mod +inherit linux-info linux-mod-r1 DESCRIPTION="device that allows access to Linux kernel cryptographic drivers" HOMEPAGE="http://cryptodev-linux.org/" @@ -26,10 +26,6 @@ DEPEND="virtual/linux-sources" #test requires that the module is already loaded RESTRICT="test" -MODULE_NAMES="cryptodev(extra:${S})" -BUILD_PARAMS="KERNEL_DIR=\"\${KV_OUT_DIR}\"" -BUILD_TARGETS="build" - pkg_pretend() { use kernel_linux || die "cryptodev ebuild only support linux" @@ -42,8 +38,15 @@ pkg_pretend() { check_extra_config } +src_compile() { + local modlist=( cryptodev=extra:${S} ) + local modargs=( KERNEL_DIR="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} + src_install() { - linux-mod_src_install + linux-mod-r1_src_install insinto /usr/include/crypto doins crypto/cryptodev.h |