module-init-tools: update to 3.6.16.

This commit is contained in:
Juan RP 2011-06-17 09:14:01 +02:00
parent 9282e83d31
commit a9959d2432

View file

@ -1,14 +1,13 @@
# Template file for 'module-init-tools' # Template file for 'module-init-tools'
pkgname=module-init-tools pkgname=module-init-tools
version=3.13 version=3.16
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2" distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=custom-install
configure_args="--enable-zlib --prefix="
short_desc="Tools for managing kernel modules" short_desc="Tools for managing kernel modules"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://kerneltools.org" homepage="http://kerneltools.org"
license="GPL-2" license="GPL-2"
checksum=6a29185d09fab7c30817d57994336bb2e1a9da5b80b82c8b282d2c08a221925b checksum=e1f2cdcae64a8effc25e545a5e0bdaf312f816ebbcd0916e4e87450755fab64b
long_desc=" long_desc="
The module-init-tools package provides many of the utilities The module-init-tools package provides many of the utilities
needed by Linux systems for managing loadable Linux Kernel Modules. This needed by Linux systems for managing loadable Linux Kernel Modules. This
@ -17,16 +16,18 @@ long_desc="
Add_dependency run glibc Add_dependency run glibc
Add_dependency run zlib Add_dependency run zlib
Add_dependency build zlib-devel Add_dependency build zlib-devel
Add_dependency build docbook2x
pre_configure() do_build()
{ {
# Don't regenerate manpages. DOCBOOKTOMAN="docbook2man --sgml" ./configure \
touch ${wrksrc}/*.{5,8} --prefix=/ --mandir=/usr/share/man --enable-zlib
make ${makejobs}
} }
post_install() do_install()
{ {
sed -i "s#mod#man5/mod#" ${DESTDIR}/usr/share/man/man5/modprobe.d.5 make DESTDIR=${DESTDIR} install
# Some apps expect /sbin/lsmod, so make a symlink. # Some apps expect /sbin/lsmod, so make a symlink.
cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod . cd ${DESTDIR}/sbin && ln -sf ../bin/lsmod .
} }