Files
2026-06-02 21:38:47 +02:00

24 lines
769 B
Python

version = "33"
revision = 1
description = "Tools and library to handle kernel modules (modprobe/depmod/libkmod)"
license = "LGPL-2.1-or-later"
url = "https://github.com/kmod-project/kmod"
source = tarball(
url=f"https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-{version}.tar.xz",
sha256="dc768b3155172091f56dc69430b5481f2d76ecd9ccb54ead8c2540dbcf5ea9bc",
)
host_deps = ["binutils", "gcc", "pkgconf"]
deps = [profile["libc"], "zlib", "xz", "zstd"]
# The kernel.org release tarball ships the autotools build (no meson.build).
configure, build, install = autotools(
configure_args=[
"--with-zstd",
"--with-xz",
"--with-zlib",
"--without-openssl",
"--disable-manpages",
"--disable-test-modules",
],
)