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
39 -fno-strict-aliasing \
42 configure_options += \
43 FORCE_UNSAFE_CONFIGURE=1 \
44 --enable-dependency-tracking \
45 --libexecdir=%{libdir} \
48 --enable-install-program=arch \
49 --enable-no-install-program=hostname,kill,uptime \
56 make_build_targets += \
63 make_install_targets += install-man
66 mkdir -pv %{BUILDROOT}%{sbindir}
67 mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir}
69 # Dump /etc/DIR_COLORS
70 mkdir -pv %{BUILDROOT}%{sysconfdir}
71 for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do
72 install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir}
76 mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/
77 cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/
124 package %{name}-debuginfo