2008-10-25 22:39:27 +00:00
|
|
|
# Template file for 'module-init-tools'
|
|
|
|
pkgname=module-init-tools
|
2011-06-01 07:49:04 +00:00
|
|
|
version=3.13
|
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>"
|
2011-06-01 07:49:04 +00:00
|
|
|
homepage="http://kerneltools.org"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=6a29185d09fab7c30817d57994336bb2e1a9da5b80b82c8b282d2c08a221925b
|
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."
|
|
|
|
|
2010-04-29 03:53:06 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
2010-04-29 14:26:34 +00:00
|
|
|
Add_dependency build zlib-devel
|
2010-04-29 03:53:06 +00:00
|
|
|
|
2010-10-26 01:42:22 +00:00
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
# Don't regenerate manpages.
|
|
|
|
touch ${wrksrc}/*.{5,8}
|
|
|
|
}
|
|
|
|
|
2010-04-29 03:53:06 +00:00
|
|
|
post_install()
|
|
|
|
{
|
2010-10-26 01:42:22 +00:00
|
|
|
sed -i "s#mod#man5/mod#" ${DESTDIR}/usr/share/man/man5/modprobe.d.5
|
2010-04-29 03:53:06 +00:00
|
|
|
# Some apps expect /sbin/lsmod, so make a symlink.
|
|
|
|
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
|
|
|
|
}
|