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