CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Deleted some ports which are not required for a first rootfs-devel from crosscompilation
[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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5# Depends on:
6
7name=module-init-tools
f8d0270c 8version=3.12
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
f8d0270c 15 touch *.5 *.8
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}