mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
kmod: update to 13.
This commit is contained in:
parent
26d090783f
commit
7fbc3308b9
1 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kmod'
|
# Template file for 'kmod'
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
version=12
|
version=13
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-zlib --with-xz"
|
configure_args="--with-zlib --with-xz"
|
||||||
hostmakedepends="pkg-config libxslt"
|
hostmakedepends="pkg-config libxslt"
|
||||||
|
@ -11,10 +11,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://git.profusion.mobi/cgit.cgi/kmod.git"
|
homepage="http://git.profusion.mobi/cgit.cgi/kmod.git"
|
||||||
distfiles="${KERNEL_SITE}/utils/kernel/kmod/kmod-${version}.tar.xz"
|
distfiles="${KERNEL_SITE}/utils/kernel/kmod/kmod-${version}.tar.xz"
|
||||||
checksum=c6189dd8c5a1e8d9224e8506bd188c0cd5dfa119fd6b7e5869b3640cbe8bf92f
|
checksum=6c36d3abba2f98c84973ae275951c866f8bf304e7356c2fe60633800239d7956
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="libtool automake pkg-config libxslt"
|
hostmakedepends+=" libtool automake"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,8 @@ post_install() {
|
||||||
# Add compatibility symlinks.
|
# Add compatibility symlinks.
|
||||||
vmkdir usr/sbin
|
vmkdir usr/sbin
|
||||||
for tool in {ls,ins,rm,dep}mod mod{info,probe}; do
|
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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue