]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/module-init-tools/module-init-tools.nm
Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x
[people/arne_f/ipfire-3.x.git] / pkgs / module-init-tools / module-init-tools.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
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. #
10 # #
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. #
15 # #
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/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = module-init-tools
28 PKG_VER = 3.12
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUPS = System/Base
33 PKG_URL = http://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
34 PKG_LICENSE = GPLv2+
35 PKG_SUMMARY = Kernel module management utilities.
36
37 PKG_BUILD_DEPS+= zlib-devel
38
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 \
44 unloaded modules.
45 endef
46
47 PKG_TARBALL = $(THISAPP).tar.bz2
48
49 CFLAGS += -DCONFIG_NO_BACKWARDS_COMPAT=1
50
51 # Set docbooktoman=true, because this package is not available
52 # in IPFire and prevents us from errors
53 export DOCBOOKTOMAN=true
54
55 CONFIGURE_OPTIONS += \
56 --bindir=/bin \
57 --sbindir=/sbin \
58 --mandir=/usr/share/man \
59 --enable-zlib-dynamic \
60 --disable-static-utils
61
62 define STAGE_INSTALL_CMDS
63 -mkdir -pv $(BUILDROOT)/etc/modprobe.d
64 cp -av $(DIR_SOURCE)/modprobe.d/* $(BUILDROOT)/etc/modprobe.d/
65 endef