summaryrefslogtreecommitdiff
path: root/repo/system/kmod.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/kmod.xibuild')
-rw-r--r--repo/system/kmod.xibuild30
1 files changed, 0 insertions, 30 deletions
diff --git a/repo/system/kmod.xibuild b/repo/system/kmod.xibuild
deleted file mode 100644
index 673036a..0000000
--- a/repo/system/kmod.xibuild
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make "
-DEPS="musl zlib openssl xz zstd"
-
-PKG_VER=29
-SOURCE=https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$PKG_VER.tar.xz
-DESC="Libraries and utilities for managing kernel modules"
-
-build () {
- ./autogen.sh
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --with-xz \
- --with-zstd \
- --with-zlib
-
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- mkdir -p /usr/bin
- ln -s kmod $PKG_DEST/usr/bin/depmod
- ln -s kmod $PKG_DEST/usr/bin/insmod
- ln -s kmod $PKG_DEST/usr/bin/modinfo
- ln -s kmod $PKG_DEST/usr/bin/modprobe
- ln -s kmod $PKG_DEST/usr/bin/rmmod
- ln -s kmod $PKG_DEST/usr/bin/lsmod
-}