kmod: update to 13.

This commit is contained in:
Juan RP 2013-04-17 13:09:55 +02:00
parent 26d090783f
commit 7fbc3308b9

View file

@ -1,7 +1,7 @@
# Template file for 'kmod'
pkgname=kmod
version=12
revision=3
version=13
revision=1
build_style=gnu-configure
configure_args="--with-zlib --with-xz"
hostmakedepends="pkg-config libxslt"
@ -11,10 +11,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://git.profusion.mobi/cgit.cgi/kmod.git"
distfiles="${KERNEL_SITE}/utils/kernel/kmod/kmod-${version}.tar.xz"
checksum=c6189dd8c5a1e8d9224e8506bd188c0cd5dfa119fd6b7e5869b3640cbe8bf92f
checksum=6c36d3abba2f98c84973ae275951c866f8bf304e7356c2fe60633800239d7956
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libtool automake pkg-config libxslt"
hostmakedepends+=" libtool automake"
pre_configure() {
autoreconf -fi
}
@ -25,7 +25,8 @@ post_install() {
# Add compatibility symlinks.
vmkdir usr/sbin
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
cd ${DESTDIR}/usr/sbin && ln -sf ../bin/kmod $tool
cd ${DESTDIR}/usr/sbin
ln -sf ../bin/kmod $tool
done
}