Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Kernel module utilities |
2 | # URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
4 | # Arch Maintainer: CRUX ARM System Team | |
5 | # Depends on: | |
6 | ||
7 | name=module-init-tools | |
8 | version=3.6 | |
9 | release=1 | |
10 | source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2 | |
11 | http://crux.nu/~jue/files/dist/$name-man-$version.tar.bz2 | |
12 | modprobe.conf) | |
13 | ||
14 | build() { | |
15 | cd $name-$version | |
16 | cp $SRC/$name-man-$version/* . | |
17 | ./configure --build=$CHOST \ | |
18 | --host=$CTARGET \ | |
19 | --prefix=/usr \ | |
20 | --bindir=/sbin \ | |
21 | --sbindir=/sbin | |
22 | make | |
23 | make DESTDIR=$PKG mandir=/usr/man install | |
24 | install -D -m 644 $SRC/modprobe.conf $PKG/etc/modprobe.conf | |
25 | rm -f $PKG/sbin/generate-modprobe.conf | |
26 | } |