7 |
PCATEGORIE="sys-apps" |
PCATEGORIE="sys-apps" |
8 |
STATE="unstable" |
STATE="unstable" |
9 |
|
|
10 |
DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls, etc)." |
#DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls, etc)." |
11 |
HOMEPAGE="http://www.gnu.org/software/coreutils/coreutils.html" |
HOMEPAGE="http://www.gnu.org/software/coreutils/coreutils.html" |
12 |
|
|
13 |
DEPEND=">= virtual/glibc |
# DEPEND=">= virtual/glibc |
14 |
>= sys-libs/ncurses-5.7 |
# >= sys-libs/ncurses-5.7 |
15 |
>= dev-libs/gmp-4.3 |
# >= dev-libs/gmp-4.3 |
16 |
>= sys-dev/gettext-0.17" |
# >= sys-dev/gettext-0.17" |
17 |
|
|
18 |
SDEPEND=">= sys-dev/automake-3 |
SDEPEND=">= sys-dev/automake-3 |
19 |
>= sys-dev/autoconf-4 |
>= sys-dev/autoconf-4 |
20 |
>= sys-dev/m4-1.4" |
>= sys-dev/m4-1.4 |
21 |
|
>= virtual/glibc |
22 |
|
>= sys-libs/ncurses-5.7 |
23 |
|
>= dev-libs/gmp-4.3 |
24 |
|
>= sys-dev/gettext-0.17" |
25 |
|
|
26 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
27 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
28 |
|
|
29 |
sminclude mtools |
sminclude mtools mcore-split |
30 |
|
|
31 |
SRC_URI=( |
SRC_URI=( |
32 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
76 |
mmake || die |
mmake || die |
77 |
} |
} |
78 |
|
|
79 |
src_install() |
generic_src_install() |
80 |
{ |
{ |
81 |
cd ${SRCDIR} |
cd ${SRCDIR} |
82 |
|
|
107 |
minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die |
minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die |
108 |
} |
} |
109 |
|
|
110 |
|
src_install_coreutils() |
111 |
|
{ |
112 |
|
src_install_generic |
113 |
|
|
114 |
|
# cleanup |
115 |
|
zapmost ${BINDIR} bin/dircolors bin/install bin/ls usr/bin/mktemp bin/touch || die |
116 |
|
} |
117 |
|
|
118 |
|
src_install_coreutils_dev() |
119 |
|
{ |
120 |
|
src_install_generic |
121 |
|
|
122 |
|
# cleanup |
123 |
|
rm ${BINDIR}/bin/dircolors || die |
124 |
|
rm ${BINDIR}/bin/install || die |
125 |
|
rm ${BINDIR}/bin/ls || die |
126 |
|
rm ${BINDIR}/usr/bin/mktemp || die |
127 |
|
rm ${BINDIR}/bin/touch || die |
128 |
|
} |
129 |
|
|
130 |
preinstall() |
preinstall() |
131 |
{ |
{ |
132 |
if [[ ! -z $(magequery -n mktemp) ]] |
if [[ ! -z $(magequery -n mktemp) ]] |