]> git.ipfire.org Git - ipfire-3.x.git/blob - sysvinit/sysvinit.nm
kernel: Update to 5.1
[ipfire-3.x.git] / sysvinit / sysvinit.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = sysvinit
7 version = 2.86
8 release = 8
9
10 groups = System/Base
11 url = https://alioth.debian.org/projects/pkg-sysvinit/
12 license = GPLv2+
13 summary = Programs which control basic system processes.
14
15 description
16 The sysvinit package contains a group of processes that control
17 the very basic functions of your system.
18 end
19
20 sources = %{thisapp}.tar.gz
21
22 CFLAGS += -D_GNU_SOURCE
23
24 build
25 make_build_targets += \
26 -C src CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
27
28 install
29 # Create directories.
30 mkdir -pv %{BUILDROOT}%{bindir}
31 mkdir -pv %{BUILDROOT}%{sbindir}
32 mkdir -pv %{BUILDROOT}%{mandir}/man8
33
34 # Install binaries.
35 install -m 0755 src/killall5 %{BUILDROOT}%{sbindir}
36
37 # Install man-pages.
38 install -m 0664 man/killall5.8 %{BUILDROOT}%{mandir}/man8
39 end
40 end
41
42 packages
43 package %{name}
44 groups += Base
45
46 provides
47 /sbin/killall5
48 end
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end