summaryrefslogtreecommitdiff
path: root/core/kmod/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/kmod/MAKEPKG')
-rw-r--r--core/kmod/MAKEPKG37
1 files changed, 37 insertions, 0 deletions
diff --git a/core/kmod/MAKEPKG b/core/kmod/MAKEPKG
new file mode 100644
index 0000000..5bf495e
--- /dev/null
+++ b/core/kmod/MAKEPKG
@@ -0,0 +1,37 @@
+#!/bin/mkpkg
+# description: Kernel module utilities and library
+# url: https://git.kernel.org/?p=utils/kernel/kmod/kmod.git
+
+name=kmod
+version=34.2
+release=1
+makedeps=(autoconf automake libtool xz zlib zstd)
+source=(https://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.xz)
+
+sha256sums=(
+ "5a5d5073070cc7e0c7a7a3c6ec2a0e1780850c8b47b3e3892226b93ffcb9cb54"
+)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/ \
+ --disable-manpages \
+ --with-zlib \
+ --with-xz \
+ --with-zstd \
+ --with-bashcompletiondir=no \
+ --with-fishcompletiondir=no \
+ --with-zshcompletiondir=no
+ make
+ DESTDIR=$PKG make install
+ rm -rf $PKG/share
+ rm -f $PKG/lib/libkmod.la
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh