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"
|
2008-10-25 22:39:27 +00:00
|
|
|
distfiles="
|
2008-10-28 22:57:52 +00:00
|
|
|
http://www.kernel.org/pub/linux/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
|
|
|
|
#
|
|
|
|
# /etc/modprobe.conf. Please read modprobe.conf(8).
|
|
|
|
#
|
|
|
|
_EOF
|
|
|
|
chmod 644 ${DESTDIR}/etc/modprobe.conf
|
|
|
|
}
|