blob: ea72d1904bb266baffacefb8f7cd7b0c93687a72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
description="Kernel module utilities."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://kerneltools.org/KernelTools.org"
depends=()
name=module-init-tools
version=3.12
release=1
source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2)
build ()
{
cd $name-$version;
touch *.5 *.8;
./configure \
${CBUILD:+-build=${CBUILD}} \
${CHOST:+-host=${CHOST}} \
--prefix=$prefix \
--bindir=/sbin \
--sbindir=/sbin;
make;
make DESTDIR=$PKG mandir=$mandir install;
install -d $PKG/etc/{modprobe.d,depmod.d}
}
|