013981904c0120245ccc1b88b4c8da6ddec5e0ff
[hdw-linux/hdw-linux.git] / packages / base / module-init-tools / module-init-tools
1 # hdw - linux module-init-tools package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 3.1
6 # [S] 2-15
7 # [D] module-init-tools-3.1.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
8
9 confopt=${confopt//--prefix* /--prefix="" }
10 confopt="$confopt --enable-zlib"
11
12 pre_install()   {
13         touch modprobe.conf.5
14                 }
15
16 post_install()  {
17         # creating modprobe.* stuff
18         [ ! -f $root/etc/modprobe.conf ] && touch $root/etc/modprobe.conf
19         [ ! -f $root/etc/modprobe.devfs ] && cp modprobe.devfs $root/etc
20                 }