void-packages/srcpkgs/module-init-tools/template

25 lines
809 B
Plaintext
Raw Normal View History

# Template file for 'module-init-tools'
pkgname=module-init-tools
version=3.11.1
revision=1
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-zlib --prefix="
short_desc="Tools for managing kernel modules"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c5bc5fba03769fec786a305abdf97f37c5d7a33e61b92f4ee4f1b80cbc1d1dc0
long_desc="
The module-init-tools package provides many of the utilities
needed by Linux systems for managing loadable Linux Kernel Modules. This
includes depmod, insmod, rmmod, modprobe and tools like modinfo."
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run zlib-devel
post_install()
{
# Some apps expect /sbin/lsmod, so make a symlink.
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
}