]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - pkgs/sysvinit/sysvinit.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / 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 = 1
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 end
39 end
40
41 packages
42 package %{name}
43 end
44 end