CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
module-init-tools: update to 3.12
[crossrootfs.git] / module-init-tools / Pkgfile
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 at crux-arm dot nu
5 # Depends on:
6
7 name=module-init-tools
8 version=3.12
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 touch *.5 *.8
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 }