commit: 61c929f551d2bc755d47047d3d2d1191d9ad96f7 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Feb 22 17:51:23 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 22 17:51:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c929f5
sys-apps/uutils-coreutils: install multicall binary & use hardlinks This saves a huge amount of disk by having one binary where everything is hardlinked to it: ``` [WW] SIZE: 128.45MiB -> 16.73MiB, 401 -> 405 files [WW] ------> FILES(+105,-101) SIZE(-86.98%) ``` Closes: https://bugs.gentoo.org/836820 Signed-off-by: Sam James <sam <AT> gentoo.org> ...reutils-0.0.17.ebuild => uutils-coreutils-0.0.17-r1.ebuild} | 8 +++++++- sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.17.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.17-r1.ebuild similarity index 97% rename from sys-apps/uutils-coreutils/uutils-coreutils-0.0.17.ebuild rename to sys-apps/uutils-coreutils/uutils-coreutils-0.0.17-r1.ebuild index 82f7b4e25f89..18c44966dbd8 100644 --- a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.17.ebuild +++ b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.17-r1.ebuild @@ -316,5 +316,11 @@ src_compile() { } src_install() { - emake V=1 PREFIX="/usr" PROG_PREFIX="uu-" DESTDIR="${D}" MANDIR="/share/man/man1" install + emake V=1 PROFILE=release \ + PREFIX="/usr" \ + PROG_PREFIX="uu-" \ + MULTICALL=y \ + DESTDIR="${D}" \ + MANDIR="/share/man/man1" \ + install } diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild index 77277f32ac2a..18c44966dbd8 100644 --- a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild +++ b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild @@ -290,7 +290,7 @@ else " S="${WORKDIR}"/coreutils-${PV} - KEYWORDS="~amd64 ~arm64" + KEYWORDS="~amd64 ~arm64 ~ppc64" fi LICENSE="MIT" @@ -316,5 +316,11 @@ src_compile() { } src_install() { - emake V=1 PREFIX="/usr" PROG_PREFIX="uu-" DESTDIR="${D}" MANDIR="/share/man/man1" install + emake V=1 PROFILE=release \ + PREFIX="/usr" \ + PROG_PREFIX="uu-" \ + MULTICALL=y \ + DESTDIR="${D}" \ + MANDIR="/share/man/man1" \ + install }
