2008-10-25 22:39:27 +00:00
|
|
|
# Template file for 'module-init-tools'
|
|
|
|
pkgname=module-init-tools
|
2011-06-17 07:14:01 +00:00
|
|
|
version=3.16
|
2012-01-12 11:25:38 +00:00
|
|
|
#distfiles="${KERNEL_SITE}/utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
|
|
|
|
distfiles="http://anduin.linuxfromscratch.org/sources/LFS/lfs-packages/conglomeration/module-init-tools/module-init-tools-3.16.tar.bz2"
|
2011-11-12 05:01:02 +00:00
|
|
|
revision=1
|
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"
|
2011-06-17 07:14:01 +00:00
|
|
|
checksum=e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b
|
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 zlib
|
2010-04-29 14:26:34 +00:00
|
|
|
Add_dependency build zlib-devel
|
2011-06-17 07:14:01 +00:00
|
|
|
Add_dependency build docbook2x
|
2010-04-29 03:53:06 +00:00
|
|
|
|
2011-06-17 07:14:01 +00:00
|
|
|
do_build()
|
2010-10-26 01:42:22 +00:00
|
|
|
{
|
2011-06-17 07:14:01 +00:00
|
|
|
DOCBOOKTOMAN="docbook2man --sgml" ./configure \
|
|
|
|
--prefix=/ --mandir=/usr/share/man --enable-zlib
|
|
|
|
make ${makejobs}
|
2010-10-26 01:42:22 +00:00
|
|
|
}
|
|
|
|
|
2011-06-17 07:14:01 +00:00
|
|
|
do_install()
|
2010-04-29 03:53:06 +00:00
|
|
|
{
|
2011-06-17 07:14:01 +00:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-04-29 03:53:06 +00:00
|
|
|
# Some apps expect /sbin/lsmod, so make a symlink.
|
|
|
|
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
|
|
|
|
}
|