summaryrefslogtreecommitdiffstats
path: root/base/module-init-tools/Pkgfile
blob: 869c5b313ff750c51d678e93628255ff6ef4219d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Description: Modules utilitaires pour le noyau
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=module-init-tools
version=3.11.1
release=2
source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.bz2\
	modprobe.conf blacklist-fb.conf)

build() {
cd $name-$version
./configure
make check
make clean

./configure --prefix=/  --enable-zlib \
	--mandir=/usr/share/man

make
install -d $PKG/usr/share/man
install -d $PKG/etc/{modprobe.d,depmod.d}
make DESTDIR=$PKG mandir=/usr/share/man install
rm -f $PKG/sbin/generate-modprobe.conf
install -m 644 ../modprobe.conf $PKG/etc/modprobe.d/modprobe.conf
install -m 644 ../blacklist-fb.conf $PKG/etc/modprobe.d/
}