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" |
|
>= dev-libs/gmp-5 |
|
|
>= sys-dev/gettext-0.18 |
|
|
>= sys-apps/acl-2.2 |
|
|
>= sys-apps/attr-2.4" |
|
15 |
|
|
16 |
SDEPEND=">= sys-dev/automake-3 |
SDEPEND=">= sys-dev/automake-3 |
17 |
>= sys-dev/autoconf-4 |
>= sys-dev/autoconf-4 |
18 |
>= sys-dev/m4-1.4" |
>= sys-dev/m4-1.4 |
19 |
|
>= dev-libs/gmp-5 |
20 |
|
>= sys-dev/gettext-0.18" |
21 |
|
|
22 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 |
|
|
25 |
sminclude mtools |
MCORE_ONLY_KEEP="bin/dircolors bin/install bin/ls usr/bin/mktemp bin/touch" |
26 |
|
sminclude mtools mcore-split |
27 |
|
|
28 |
SRC_URI=( |
SRC_URI=( |
29 |
gnu://${PNAME}/${SRCFILE} |
gnu://${PNAME}/${SRCFILE} |
69 |
{ |
{ |
70 |
cd ${SRCDIR} |
cd ${SRCDIR} |
71 |
|
|
72 |
mconfigure --enable-largefile --enable-nls --enable-acl --enable-xattr || die |
mconfigure --enable-largefile --disable-nls --disable-acl --disable-xattr || die |
73 |
mmake || die |
mmake || die |
74 |
} |
} |
75 |
|
|
76 |
src_install() |
mcore_generic_src_install() |
77 |
{ |
{ |
78 |
cd ${SRCDIR} |
cd ${SRCDIR} |
79 |
|
|
104 |
minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die |
minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die |
105 |
} |
} |
106 |
|
|
107 |
preinstall() |
# preinstall() |
108 |
{ |
# { |
109 |
if [[ ! -z $(magequery -n mktemp) ]] |
# if [[ ! -z $(magequery -n mktemp) ]] |
110 |
then |
# then |
111 |
echo -e ${COLRED} |
# echo -e ${COLRED} |
112 |
echo -e "Error: sys-apps/mktemp is installed!!" |
# echo -e "Error: sys-apps/mktemp is installed!!" |
113 |
echo -e "mktemp is now provided by coreutils and doesn't need an extra package anymore." |
# echo -e "mktemp is now provided by coreutils and doesn't need an extra package anymore." |
114 |
echo -e "Please uninstall sys-apps/mktemp first!" |
# echo -e "Please uninstall sys-apps/mktemp first!" |
115 |
echo -e ${COLDEFAULT} |
# echo -e ${COLDEFAULT} |
116 |
die "sys-apps/mktemp found!" |
# die "sys-apps/mktemp found!" |
117 |
fi |
# fi |
118 |
} |
# } |