]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - sysvinit/sysvinit.nm
docbook2X: New package.
[people/ms/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 = 5
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 requires
26 libselinux-devel
27 end
28
29 make_build_targets += \
30 -C src CFLAGS="%{CFLAGS}" \
31 LDFLAGS="" \
32 LCRYPT="-lcrypt"
33
34 install
35 mkdir -pv %{BUILDROOT}/{bin,sbin,usr/{bin,include}}
36 mkdir -pv %{BUILDROOT}/usr/share/man/man{1,5,8}
37 make -C src install ROOT=%{BUILDROOT}
38
39 # /bin/mountpoint is part of util-linux >= 2.20
40 rm -vf %{BUILDROOT}/bin/mountpoint \
41 %{BUILDROOT}/usr/share/man/man1/mountpoint.1
42 end
43 end
44
45 packages
46 package %{name}
47 groups += Base
48 end
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
53 end