core/module-init-tools/Pkgfile

21 lines
627 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Kernel module utilities
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
# Maintainer: CRUX System Team, core-ports at crux dot nu
2006-02-23 16:26:10 +01:00
name=module-init-tools
2008-10-14 19:19:36 +02:00
version=3.5
2006-02-23 16:26:10 +01: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
modprobe.conf)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
./configure --prefix=/usr \
2008-07-22 10:15:50 +02:00
--bindir=/sbin \
--sbindir=/sbin
2006-02-23 16:26:10 +01: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 16:26:10 +01:00
rm -f $PKG/sbin/generate-modprobe.conf
}