1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
27 PKG_NAME = module-init-tools
32 PKG_GROUPS = System/Base
33 PKG_URL = http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
35 PKG_SUMMARY = Kernel module management utilities.
37 PKG_BUILD_DEPS+= zlib-devel
39 define PKG_DESCRIPTION
40 The module-init-tools package includes various programs needed \
41 for automatic loading and unloading of modules under 2.6 and \
42 later kernels, as well as other module management programs. \
43 Device drivers and filesystems are two examples of loaded and \
47 PKG_TARBALL = $(THISAPP).tar.bz2
49 CFLAGS += -DCONFIG_NO_BACKWARDS_COMPAT=1
51 # Set docbooktoman=true, because this package is not available
52 # in IPFire and prevents us from errors
53 export DOCBOOKTOMAN=true
55 CONFIGURE_OPTIONS += \
58 --mandir=/usr/share/man \
59 --enable-zlib-dynamic \
60 --disable-static-utils
62 define STAGE_INSTALL_CMDS
63 -mkdir -pv $(BUILDROOT)/etc/modprobe.d
64 cp -av $(DIR_SOURCE)/modprobe.d/* $(BUILDROOT)/etc/modprobe.d/