| 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, devel@crux-arm.nu |
| 5 | # Depends on: |
| 6 | |
| 7 | name=module-init-tools |
| 8 | version=3.11.1 |
| 9 | release=1 |
| 10 | source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2 \ |
| 11 | modprobe.conf) |
| 12 | |
| 13 | build() { |
| 14 | cd $name-$version |
| 15 | |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --bindir=/sbin \ |
| 20 | --sbindir=/sbin |
| 21 | |
| 22 | make |
| 23 | make DESTDIR=$PKG mandir=/usr/man install |
| 24 | install -d $PKG/etc/{modprobe.d,depmod.d} |
| 25 | } |