CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[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
4# Arch Maintainer: CRUX ARM System Team
5# Depends on:
6
7name=module-init-tools
8version=3.6
9release=1
10source=(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
14build() {
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}