void-packages/srcpkgs/module-init-tools/template

33 lines
977 B
Plaintext
Raw Normal View History

# Template file for 'module-init-tools'
pkgname=module-init-tools
2011-06-17 09:14:01 +02:00
version=3.16
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
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
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."
Add_dependency run glibc
Add_dependency run zlib
Add_dependency build zlib-devel
2011-06-17 09:14:01 +02:00
Add_dependency build docbook2x
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()
{
2011-06-17 09:14:01 +02:00
make DESTDIR=${DESTDIR} install
# Some apps expect /sbin/lsmod, so make a symlink.
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
}