summaryrefslogtreecommitdiffstats
path: root/module-init-tools/Pkgfile
blob: f725738a11843787ad3c39fe752441ce54d8891e (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 \
		${CHOST:+-build=${CHOST}} \
		${CTARGET:+-host=${CTARGET}} \
		--prefix=$prefix \
		--bindir=/sbin \
		--sbindir=/sbin;
	make;
	make DESTDIR=$PKG mandir=$mandir install;
	install -d $PKG/etc/{modprobe.d,depmod.d}
}