mag

a binary package manager in one C file: apk and pacman repos, CRUX, Void and Exherbo ports
git clone https://github.com/tortr-rs/mag
Log | Files | Refs | README | LICENSE

kmod (731B)


      1 desc: kernel module tools: modprobe, insmod, lsmod
      2 version: 34.3
      3 url: https://cdn.kernel.org/pub/linux/utils/kernel/kmod/kmod-${version}.tar.xz
      4 sha256: 985554de49c21a58abd68c6cda2251384e1e5bb08b3b14c7f02b51f4c90c2958
      5 deps: dev-build/libtool archivers/zstd archivers/xz devel/zlib devel/pkgconf devel/gmake
      6 steps:
      7 	./configure --prefix=$PREFIX --sysconfdir=/etc --with-zstd --with-xz --with-zlib --disable-manpages
      8 	gmake -j$JOBS LIBTOOL=libtool
      9 	gmake LN_S=true LIBTOOL=libtool DESTDIR=$DESTDIR install
     10 	mkdir -p $DESTDIR$PREFIX/sbin $DESTDIR/sbin
     11 	for t in depmod insmod lsmod modinfo modprobe rmmod; do ln -sf kmod $DESTDIR$PREFIX/bin/$t; ln -sf ../bin/kmod $DESTDIR$PREFIX/sbin/$t; ln -sf ../usr/bin/kmod $DESTDIR/sbin/$t; done