2008-10-26 00:39:27 +02:00
|
|
|
# Template file for 'module-init-tools'
|
|
|
|
pkgname=module-init-tools
|
2011-06-17 09:14:01 +02:00
|
|
|
version=3.16
|
2009-04-19 00:31:39 +02:00
|
|
|
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
|
2011-06-17 09:14:01 +02:00
|
|
|
build_style=custom-install
|
2008-10-26 00:39:27 +02:00
|
|
|
short_desc="Tools for managing kernel modules"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-01 09:49:04 +02:00
|
|
|
homepage="http://kerneltools.org"
|
|
|
|
license="GPL-2"
|
2011-06-17 09:14:01 +02:00
|
|
|
checksum=e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b
|
2008-10-26 00:39:27 +02: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 05:53:06 +02:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
2010-04-29 16:26:34 +02:00
|
|
|
Add_dependency build zlib-devel
|
2011-06-17 09:14:01 +02:00
|
|
|
Add_dependency build docbook2x
|
2010-04-29 05:53:06 +02:00
|
|
|
|
2011-06-17 09:14:01 +02:00
|
|
|
do_build()
|
2010-10-26 03:42:22 +02:00
|
|
|
{
|
2011-06-17 09:14:01 +02:00
|
|
|
DOCBOOKTOMAN="docbook2man --sgml" ./configure \
|
|
|
|
--prefix=/ --mandir=/usr/share/man --enable-zlib
|
|
|
|
make ${makejobs}
|
2010-10-26 03:42:22 +02:00
|
|
|
}
|
|
|
|
|
2011-06-17 09:14:01 +02:00
|
|
|
do_install()
|
2010-04-29 05:53:06 +02:00
|
|
|
{
|
2011-06-17 09:14:01 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2010-04-29 05:53:06 +02:00
|
|
|
# Some apps expect /sbin/lsmod, so make a symlink.
|
|
|
|
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
|
|
|
|
}
|