2008-10-25 22:39:27 +00:00
|
|
|
# Template file for 'module-init-tools'
|
|
|
|
pkgname=module-init-tools
|
2009-02-19 01:02:19 +00:00
|
|
|
version=3.6
|
|
|
|
patch_files="LFS-man_pages-1.diff.bz2"
|
|
|
|
patch_args="-Np1"
|
2009-04-18 22:31:39 +00:00
|
|
|
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
|
2008-10-25 22:39:27 +00:00
|
|
|
build_style=gnu_configure
|
2009-03-18 09:01:28 +00:00
|
|
|
configure_args="--enable-zlib --prefix="
|
2008-10-25 22:39:27 +00:00
|
|
|
short_desc="Tools for managing kernel modules"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-02-19 01:02:19 +00:00
|
|
|
checksum=64a0b3b058f2236be1a8138356306c91e5f23f149a131428e4c7d97b1c050728
|
2008-10-25 22:39:27 +00:00
|
|
|
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."
|
|
|
|
|
2009-03-18 09:01:28 +00:00
|
|
|
conf_files="/etc/modprobe.conf"
|
2009-02-25 05:15:20 +00:00
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full zlib
|
2009-03-18 09:01:28 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/etc
|
|
|
|
cat >> ${DESTDIR}/etc/modprobe.conf <<_EOF
|
|
|
|
#
|
2009-03-24 11:14:21 +00:00
|
|
|
# /etc/modprobe.conf. Please read modprobe.conf(5).
|
2009-03-18 09:01:28 +00:00
|
|
|
#
|
|
|
|
_EOF
|
|
|
|
chmod 644 ${DESTDIR}/etc/modprobe.conf
|
|
|
|
}
|