1
0
Fork 0

sysutils/kmod: New port

This commit is contained in:
ffqq 2024-01-25 22:50:05 +03:00
parent ec9069e216
commit bb96aec4f8
1 changed files with 38 additions and 0 deletions

38
sysutils/kmod/SCHEMATIC Normal file
View File

@ -0,0 +1,38 @@
#!/bin/sh
name="kmod"
short_desc="Kernel module utilities & libraries"
desc="kmod is a set of tools to handle common tasks with Linux kernel
modules like insert, remove, list, check properties, resolve dependencies
and aliases.
These tools are designed on top of libkmod, a library that is
shipped with kmod.
See libkmod/README for more details on this library and how to
use it.
The aim is to be compatible with tools, configurations and indexes
from module-init-tools project."
category="sysutils"
version="31"
maintainer="ffqq@danwin1210.de"
www="https://lore.kernel.org/linux-modules/"
master_site="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("LGPLv3")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-openssl \
--with-xz \
--with-zstd \
--with-zlib || exit 1
make -j$(nproc)
make DESTDIR="$TAMANDUA_STAGE_DIR" install
}