]> git.ipfire.org Git - ipfire-3.x.git/blame - initscripts/initscripts.nm
Move all packages to root.
[ipfire-3.x.git] / initscripts / initscripts.nm
CommitLineData
ccbe9281 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
ccbe9281
MT
4###############################################################################
5
802ea3af
MT
6name = initscripts
7epoch = 1
8version = 2.99
9release = 5
ccbe9281 10
802ea3af
MT
11groups = Base System/Boot
12url =
13license = GPLv3+
14summary = The set of scripts that initalize the system.
ccbe9281 15
802ea3af 16description
ccbe9281
MT
17 The initscripts package contains the basic system scripts used to boot \
18 your system and shut the system down cleanly.
802ea3af
MT
19end
20
21# Nothing to download.
22sources =
23
24build
25 requires
26 glib2-devel
27 popt-devel
28 end
29
30 DIR_APP = %{DIR_SOURCE}
31
32 prepare_cmds
33 cd src && make clean
34 end
35
36 build
37 cd src && make %{PARALLELISMFLAGS}
38 end
39
40 test
41 cd src && make test
42 end
43
44 install
45 cd src && make install clean DESTDIR=%{BUILDROOT}
46
47 mkdir -pv %{BUILDROOT}/etc/{init,sysconfig}
48
49 cp -vf %{DIR_SOURCE}/functions %{BUILDROOT}/etc/init/
50
51 for i in %{DIR_SOURCE}/sysconfig/*; do
52 install -v -m 644 $i %{BUILDROOT}/etc/sysconfig/
53 done
54 chmod -v 755 %{BUILDROOT}/etc/sysconfig/rc.local
55
56 cp -vf %{DIR_SOURCE}/sysctl.conf %{BUILDROOT}/etc
57
58 # Install udev rules
59 mkdir -pv %{BUILDROOT}/lib/udev/rules.d/
60 cp -vf %{DIR_SOURCE}/udev/* %{BUILDROOT}/lib/udev/rules.d/
61 end
62end
63
64packages
65 package %{name}
66 requires
67 bash
68 coreutils
69 e2fsprogs
70 grep
71 iproute2
72 module-init-tools
73 procps
74 sed
75 system-release
76 udev
77 util-linux
78 end
79 end
80end