sysutils/kmod: New port
This commit is contained in:
parent
ec9069e216
commit
bb96aec4f8
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue