]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = coreutils |
fca5c2d6 | 7 | version = 8.25 |
effd5ec1 | 8 | release = 1 |
166a6c21 | 9 | |
d0d49567 | 10 | groups = System/Base |
802ea3af MT |
11 | url = http://www.gnu.org/software/coreutils/ |
12 | license = GPLv3+ | |
13 | summary = A set of basic GNU tools commonly used in shell scripts. | |
166a6c21 | 14 | |
802ea3af | 15 | description |
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 |
18 | end |
19 | ||
20 | source_dl = http://ftp.gnu.org/gnu/coreutils/ | |
21 | sources = %{thisapp}.tar.xz | |
166a6c21 | 22 | |
802ea3af MT |
23 | build |
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 \ | |
fbb9790b SS |
40 | -fno-strict-aliasing \ |
41 | -fpic | |
e7f6ab54 | 42 | |
802ea3af | 43 | configure_options += \ |
fbb9790b SS |
44 | FORCE_UNSAFE_CONFIGURE=1 \ |
45 | --enable-dependency-tracking \ | |
8623a35a | 46 | --libexecdir=%{libdir} \ |
802ea3af | 47 | --enable-largefile \ |
e7f6ab54 | 48 | --disable-rpath \ |
effd5ec1 | 49 | --enable-install-program=arch \ |
6987acf5 | 50 | --enable-no-install-program=hostname,kill,uptime \ |
576c025c | 51 | --with-tty-group \ |
166a6c21 | 52 | |
802ea3af | 53 | prepare_cmds |
e5317bd9 | 54 | autoreconf -vfi |
802ea3af | 55 | end |
166a6c21 | 56 | |
fca5c2d6 SS |
57 | make_build_targets += \ |
58 | V=1 | |
59 | ||
651b9950 SS |
60 | test |
61 | make check | |
62 | end | |
576c025c MT |
63 | |
64 | make_install_targets += install-man | |
166a6c21 | 65 | |
802ea3af | 66 | install_cmds |
576c025c MT |
67 | mkdir -pv %{BUILDROOT}%{sbindir} |
68 | mv -v %{BUILDROOT}/usr/bin/chroot %{BUILDROOT}%{sbindir} | |
166a6c21 | 69 | |
802ea3af | 70 | # Dump /etc/DIR_COLORS |
576c025c | 71 | mkdir -pv %{BUILDROOT}%{sysconfdir} |
3f642be3 MT |
72 | for i in DIR_COLORS DIR_COLORS.256color DIR_COLORS.lightbgcolor; do |
73 | install -m 644 %{DIR_SOURCE}/${i} %{BUILDROOT}%{sysconfdir} | |
74 | done | |
166a6c21 | 75 | |
576c025c MT |
76 | # Install profile.d. |
77 | mkdir -pv %{BUILDROOT}%{sysconfdir}/profile.d/ | |
78 | cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d/ | |
802ea3af MT |
79 | end |
80 | end | |
e35eb77b | 81 | |
802ea3af MT |
82 | packages |
83 | package %{name} | |
d0d49567 | 84 | groups += Base Build |
576c025c MT |
85 | |
86 | provides | |
87 | /bin/basename | |
88 | /bin/cat | |
89 | /bin/chgrp | |
90 | /bin/chmod | |
91 | /bin/chown | |
92 | /bin/cp | |
93 | /bin/cut | |
94 | /bin/date | |
95 | /bin/dd | |
96 | /bin/df | |
97 | /bin/echo | |
98 | /bin/env | |
99 | /bin/false | |
100 | /bin/ln | |
101 | /bin/ls | |
102 | /bin/mkdir | |
103 | /bin/mknod | |
104 | /bin/mktemp | |
105 | /bin/mv | |
106 | /bin/nice | |
107 | /bin/pwd | |
108 | /bin/readlink | |
109 | /bin/rm | |
110 | /bin/rmdir | |
111 | /bin/sleep | |
112 | /bin/sort | |
113 | /bin/stty | |
576c025c MT |
114 | /bin/sync |
115 | /bin/touch | |
116 | /bin/true | |
117 | /bin/uname | |
576c025c MT |
118 | end |
119 | ||
120 | conflicts | |
121 | filesystem < 002 | |
122 | end | |
d0d49567 | 123 | end |
1f9bc2f0 MT |
124 | |
125 | package %{name}-debuginfo | |
126 | template DEBUGINFO | |
127 | end | |
802ea3af | 128 | end |