1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.gnu.org/software/coreutils/
13 summary = A set of basic GNU tools commonly used in shell scripts.
16 These are the GNU core utilities. This package is the combination of
17 the old GNU fileutils, sh-utils, and textutils packages.
20 source_dl = https://ftp.gnu.org/gnu/coreutils/
21 sources = %{thisapp}.tar.xz
37 configure_options += \
38 FORCE_UNSAFE_CONFIGURE=1 \
39 --enable-dependency-tracking \
40 --libexecdir=%{libdir} \
42 --enable-install-program=arch \
43 --enable-no-install-program=hostname,kill,uptime \
47 make check RUN_VERY_EXPENSIVE_TESTS=yes || true
51 mkdir -pv %{BUILDROOT}%{sbindir}
52 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
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}
61 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
62 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
109 package %{name}-debuginfo