]> git.ipfire.org Git - ipfire-3.x.git/blob - coreutils/coreutils.nm
kernel: Disable support for 6RD
[ipfire-3.x.git] / coreutils / coreutils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = coreutils
7 version = 8.29
8 release = 1
9
10 groups = System/Base
11 url = http://www.gnu.org/software/coreutils/
12 license = GPLv3+
13 summary = A set of basic GNU tools commonly used in shell scripts.
14
15 description
16 These are the GNU core utilities. This package is the combination of
17 the old GNU fileutils, sh-utils, and textutils packages.
18 end
19
20 source_dl = https://ftp.gnu.org/gnu/coreutils/
21 sources = %{thisapp}.tar.xz
22
23 build
24 requires
25 autoconf
26 automake
27 e2fsprogs-devel
28 gettext-devel
29 gmp-devel
30 libacl-devel
31 libattr-devel
32 libcap-devel
33 ncurses-devel
34 texinfo
35 end
36
37 configure_options += \
38 FORCE_UNSAFE_CONFIGURE=1 \
39 --enable-dependency-tracking \
40 --libexecdir=%{libdir} \
41 --enable-largefile \
42 --enable-install-program=arch \
43 --enable-no-install-program=hostname,kill,uptime \
44 --with-tty-group
45
46 test
47 make check RUN_VERY_EXPENSIVE_TESTS=yes || true
48 end
49
50 install_cmds
51 mkdir -pv %{BUILDROOT}%{sbindir}
52 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
53
54 # Dump /etc/DIR_COLORS
55 mkdir -pv %{BUILDROOT}%{sysconfdir}
56 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
57 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
58 done
59
60 # Install profile.d.
61 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
62 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
63 end
64 end
65
66 packages
67 package %{name}
68 groups += Base Build
69
70 provides
71 /bin/basename
72 /bin/cat
73 /bin/chgrp
74 /bin/chmod
75 /bin/chown
76 /bin/cp
77 /bin/cut
78 /bin/date
79 /bin/dd
80 /bin/df
81 /bin/echo
82 /bin/env
83 /bin/false
84 /bin/ln
85 /bin/ls
86 /bin/mkdir
87 /bin/mknod
88 /bin/mktemp
89 /bin/mv
90 /bin/nice
91 /bin/pwd
92 /bin/readlink
93 /bin/rm
94 /bin/rmdir
95 /bin/sleep
96 /bin/sort
97 /bin/stty
98 /bin/sync
99 /bin/touch
100 /bin/true
101 /bin/uname
102 end
103
104 conflicts
105 filesystem < 002
106 end
107 end
108
109 package %{name}-debuginfo
110 template DEBUGINFO
111 end
112 end