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 = http://ftp.gnu.org/gnu/coreutils/
21 sources = %{thisapp}.tar.xz
40 -fno-strict-aliasing \
43 configure_options += \
44 FORCE_UNSAFE_CONFIGURE=1 \
45 --enable-dependency-tracking \
46 --libexecdir=%{libdir} \
49 --enable-install-program=arch \
50 --enable-no-install-program=hostname,kill,uptime \
57 make_build_targets += \
64 make_install_targets += install-man
67 mkdir -pv %{BUILDROOT}%{sbindir}
68 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
70 # Dump /etc/DIR_COLORS
71 mkdir -pv %{BUILDROOT}%{sysconfdir}
72 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
73 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
77 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
78 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
125 package %{name}-debuginfo