mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST toybox-0.8.12.tar.gz 3600320 BLAKE2B c63cee7663d1f7a7858ca7e0525ef4dea7d701f4d0210582af9e545ccf8595eddb52ccb3885623fe4dea4d368dabbcb2e4430aeb76cbff516f56559dbb0add44 SHA512 b6984d475b253ecf2b2fdcb3107fab690f794442dd7e3cd8b9b598381e19eaaa0ab2c2d96f4f97b27b668c5c45e61d3bab5647015fa66314d8e565337f54d775
|
||||
DIST toybox-0.8.13.tar.gz 3610158 BLAKE2B ce78eb48dc253b3484443515ee139bc160ae543213ab3389b15d504ab490cffbeddcc473828de41e600cc03c6bc007ba0b16f4b739111d6b50f53408e2fde8dd SHA512 073064c6a31f26727af1e097966e0c6c56a6d5b226cab13cd31b4e40c88ff2b6f8206c1a1e37fefd885481f9e66b246820a3cbc460d2436b34becace3706b59f
|
||||
DIST toybox-0.8.14.tar.gz 3618474 BLAKE2B 49c89040cdc8324aeac3d12a9628715de23b9a0ce51e20b0ec8e887d7dadb37275490910c0307cc2bb2eb9d19064eb32eaf70383b802c3fd35220a4e0179ffb9 SHA512 11245a9c5c9d165ebb24563151b9c9f7a50add797daeb0b8bb4fd6c7110f92280cd0e5972655b4ef0ecdf2981c6b7e76b3bfa0f8301e7935def00e524b2e506f
|
||||
|
||||
58
sys-apps/toybox/toybox-0.8.14.ebuild
Normal file
58
sys-apps/toybox/toybox-0.8.14.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multiprocessing savedconfig toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/landley/toybox.git"
|
||||
else
|
||||
SRC_URI="https://landley.net/code/toybox/downloads/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common linux commands in a multicall binary"
|
||||
HOMEPAGE="https://landley.net/code/toybox/"
|
||||
|
||||
LICENSE="0BSD"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="virtual/libcrypt:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
restore_config .config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC STRIP
|
||||
export HOSTCC="$(tc-getBUILD_CC)"
|
||||
# Respect CFLAGS
|
||||
export OPTIMIZE="${CFLAGS}"
|
||||
|
||||
if [[ -f .config ]]; then
|
||||
yes "" | emake -j1 oldconfig > /dev/null
|
||||
return 0
|
||||
else
|
||||
einfo "Could not locate user configfile, so we will save a default one"
|
||||
emake -j1 defconfig > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset CROSS_COMPILE
|
||||
export CPUS=$(makeopts_jobs)
|
||||
emake V=1 NOSTRIP=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake V=1 tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
save_config .config
|
||||
dobin toybox
|
||||
}
|
||||
Reference in New Issue
Block a user