2006-02-23 15:26:10 +00:00
|
|
|
# Description: Kernel module utilities
|
|
|
|
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=module-init-tools
|
2009-02-05 18:03:17 +01:00
|
|
|
version=3.6
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2008-07-22 10:15:50 +02:00
|
|
|
source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$name-$version.tar.bz2
|
2009-02-05 18:03:17 +01:00
|
|
|
http://crux.nu/~jue/files/dist/$name-man-$version.tar.bz2
|
2008-07-22 10:15:50 +02:00
|
|
|
modprobe.conf)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2009-02-05 18:03:17 +01:00
|
|
|
cp $SRC/$name-man-$version/* .
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2008-07-22 10:15:50 +02:00
|
|
|
--bindir=/sbin \
|
|
|
|
--sbindir=/sbin
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG mandir=/usr/man install
|
2008-07-22 10:15:50 +02:00
|
|
|
install -D -m 644 $SRC/modprobe.conf $PKG/etc/modprobe.conf
|
2006-02-23 15:26:10 +00:00
|
|
|
rm -f $PKG/sbin/generate-modprobe.conf
|
|
|
|
}
|