--- smage/trunk/core/coreutils/coreutils-8.5-r1.smage2 2010/10/21 14:56:57 702 +++ smage/trunk/core/coreutils/coreutils-8.5-r1.smage2 2010/10/21 14:57:33 703 @@ -11,20 +11,19 @@ HOMEPAGE="http://www.gnu.org/software/coreutils/coreutils.html" DEPEND=">= virtual/glibc - >= sys-libs/ncurses-5.7 - >= dev-libs/gmp-5 - >= sys-dev/gettext-0.18 - >= sys-apps/acl-2.2 - >= sys-apps/attr-2.4" + >= sys-libs/ncurses-5.7" SDEPEND=">= sys-dev/automake-3 >= sys-dev/autoconf-4 - >= sys-dev/m4-1.4" + >= sys-dev/m4-1.4 + >= dev-libs/gmp-5 + >= sys-dev/gettext-0.18" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" -sminclude mtools +MCORE_ONLY_KEEP="bin/dircolors bin/install bin/ls usr/bin/mktemp bin/touch" +sminclude mtools mcore-split SRC_URI=( gnu://${PNAME}/${SRCFILE} @@ -70,11 +69,11 @@ { cd ${SRCDIR} - mconfigure --enable-largefile --enable-nls --enable-acl --enable-xattr || die + mconfigure --enable-largefile --disable-nls --disable-acl --disable-xattr || die mmake || die } -src_install() +mcore_generic_src_install() { cd ${SRCDIR} @@ -105,15 +104,15 @@ minstalldocs ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README THANKS TODO || die } -preinstall() -{ - if [[ ! -z $(magequery -n mktemp) ]] - then - echo -e ${COLRED} - echo -e "Error: sys-apps/mktemp is installed!!" - echo -e "mktemp is now provided by coreutils and doesn't need an extra package anymore." - echo -e "Please uninstall sys-apps/mktemp first!" - echo -e ${COLDEFAULT} - die "sys-apps/mktemp found!" - fi -} +# preinstall() +# { +# if [[ ! -z $(magequery -n mktemp) ]] +# then +# echo -e ${COLRED} +# echo -e "Error: sys-apps/mktemp is installed!!" +# echo -e "mktemp is now provided by coreutils and doesn't need an extra package anymore." +# echo -e "Please uninstall sys-apps/mktemp first!" +# echo -e ${COLDEFAULT} +# die "sys-apps/mktemp found!" +# fi +# }