void-packages/templates/module-init-tools/template
Juan RP d013286604 tmpl_vars.sh: add KERNEL_SITE var and use it.
--HG--
extra : convert_revision : 19ca0740561716ef2adde93213fd64d4e280caec
2009-04-19 00:31:39 +02:00

30 lines
929 B
Text

# Template file for 'module-init-tools'
pkgname=module-init-tools
version=3.6
patch_files="LFS-man_pages-1.diff.bz2"
patch_args="-Np1"
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=64a0b3b058f2236be1a8138356306c91e5f23f149a131428e4c7d97b1c050728
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."
conf_files="/etc/modprobe.conf"
Add_dependency full glibc
Add_dependency full zlib
post_install()
{
mkdir -p ${DESTDIR}/etc
cat >> ${DESTDIR}/etc/modprobe.conf <<_EOF
#
# /etc/modprobe.conf. Please read modprobe.conf(5).
#
_EOF
chmod 644 ${DESTDIR}/etc/modprobe.conf
}