summaryrefslogtreecommitdiffstats
path: root/module-init-tools/Pkgfile.old
blob: ca7db5e30a6d81d5e107cdfa25fb998c2efe5390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: Kernel module utilities
# URL:         http://kerneltools.org/KernelTools.org
# Maintainer:  CRUX System Team, core-ports at crux dot nu

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 --prefix=/usr \
                --bindir=/sbin \
                --sbindir=/sbin
    make
    make DESTDIR=$PKG mandir=/usr/man install
    install -d $PKG/etc/{modprobe.d,depmod.d}
}