CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Merged changes from noeabi (72cbd18e791bd2edff0e8d23873136187f0cd936)
[crossrootfs.git] / module-init-tools / Pkgfile
CommitLineData
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
83e7e2d0 4# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
6dca1d21
JB
5# Depends on:
6
7name=module-init-tools
a223469e 8version=3.11.1
6dca1d21 9release=1
a223469e 10source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2 \
6dca1d21
JB
11 modprobe.conf)
12
13build() {
14 cd $name-$version
a223469e 15
6dca1d21
JB
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --bindir=/sbin \
20 --sbindir=/sbin
a223469e 21
6dca1d21
JB
22 make
23 make DESTDIR=$PKG mandir=/usr/man install
a223469e 24 install -d $PKG/etc/{modprobe.d,depmod.d}
6dca1d21 25}