module-init-tools: update to 3.12.

This commit is contained in:
Juan RP 2010-10-26 03:42:22 +02:00
parent 2414f75a41
commit a6189aaacc

View file

@ -1,13 +1,12 @@
# Template file for 'module-init-tools' # Template file for 'module-init-tools'
pkgname=module-init-tools pkgname=module-init-tools
version=3.11.1 version=3.12
revision=2
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=gnu_configure
configure_args="--enable-zlib --prefix=" 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>"
checksum=c5bc5fba03769fec786a305abdf97f37c5d7a33e61b92f4ee4f1b80cbc1d1dc0 checksum=d012ab07ea26721467a85a775f34747c1c8897e37f16bec5317d8a72ef8b4f17
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,8 +16,15 @@ Add_dependency run glibc
Add_dependency run zlib Add_dependency run zlib
Add_dependency build zlib-devel Add_dependency build zlib-devel
pre_configure()
{
# Don't regenerate manpages.
touch ${wrksrc}/*.{5,8}
}
post_install() post_install()
{ {
sed -i "s#mod#man5/mod#" ${DESTDIR}/usr/share/man/man5/modprobe.d.5
# 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 .
} }